commit | 0c021998baf332f69313c832532445030432de5e | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sun Mar 29 07:46:30 2015 -0400 |
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | Sun Mar 29 07:46:30 2015 -0400 |
tree | 9b917ad602eca6c81a33b8807778cd149f12ac9d | |
parent | 607a380b635997e8f194aab92fc108e00efce316 [diff] [blame] |
Use a spelling that is Python 2.6 compatible.
diff --git a/OpenSSL/_util.py b/OpenSSL/_util.py index bb2b740..59a7880 100644 --- a/OpenSSL/_util.py +++ b/OpenSSL/_util.py
@@ -54,8 +54,8 @@ def byte_string(s): return s -_TEXT_WARNING = u"{} for {{}} is no longer accepted, use bytes".format( - text_type.__name__ +_TEXT_WARNING = ( + text_type.__name__ + u" for {} is no longer accepted, use bytes" ) def warn_text(label, obj):