summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-02-19 12:43:24 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-20 11:38:11 +0100
commitc22fb3cb2eadaaedf8ff7d68855d340975dd4c6b (patch)
tree7919f96e2d000e9dcea768e8be8083427cd8bf08 /gbp
parentf1f37b96426a4922b047536595c7fa30713f394a (diff)
Ignore return types of write and shutil.copy
Python3 does not return None anymore
Diffstat (limited to 'gbp')
-rw-r--r--gbp/deb/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/deb/format.py b/gbp/deb/format.py
index 3a4c8ab..a91f8c7 100644
--- a/gbp/deb/format.py
+++ b/gbp/deb/format.py
@@ -84,7 +84,7 @@ class DebianSourceFormat(object):
>>> import tempfile, os
>>> with tempfile.NamedTemporaryFile(delete=False) as t:
- ... t.write("3.0 (quilt)")
+ ... ret = t.write("3.0 (quilt)")
>>> d = DebianSourceFormat.parse_file(t.name)
>>> d.version
'3.0'