summaryrefslogtreecommitdiffhomepage
path: root/gbp/deb
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-10-20 12:37:57 +0200
committerGuido Günther <agx@sigxcpu.org>2017-10-20 12:37:57 +0200
commitf986bba929392cdb18faf2e53b2323c5d6b2fa9e (patch)
tree63a44f57e33dbd234afcc341bc476679e7ab9f7a /gbp/deb
parent99b525843e130611798a8e127b5f3cc11dbb26be (diff)
Kill six.b
Diffstat (limited to 'gbp/deb')
-rw-r--r--gbp/deb/format.py3
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'