diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-10-20 12:37:57 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-10-20 12:37:57 +0200 |
commit | f986bba929392cdb18faf2e53b2323c5d6b2fa9e (patch) | |
tree | 63a44f57e33dbd234afcc341bc476679e7ab9f7a /gbp/deb | |
parent | 99b525843e130611798a8e127b5f3cc11dbb26be (diff) |
Kill six.b
Diffstat (limited to 'gbp/deb')
-rw-r--r-- | gbp/deb/format.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gbp/deb/format.py b/gbp/deb/format.py index 23339b45..412bb935 100644 --- a/gbp/deb/format.py +++ b/gbp/deb/format.py @@ -83,10 +83,9 @@ class DebianSourceFormat(object): @returns: a debisn/source/format object @rtype: L{DebianSourceFormat} - >>> from six import b >>> import tempfile, os >>> with tempfile.NamedTemporaryFile(delete=False) as t: - ... ret = t.write(b("3.0 (quilt)")) + ... ret = t.write(b"3.0 (quilt)") >>> d = DebianSourceFormat.parse_file(t.name) >>> d.version '3.0' |