diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-02-19 12:43:24 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-02-20 11:38:11 +0100 |
commit | c22fb3cb2eadaaedf8ff7d68855d340975dd4c6b (patch) | |
tree | 7919f96e2d000e9dcea768e8be8083427cd8bf08 /gbp/deb/format.py | |
parent | f1f37b96426a4922b047536595c7fa30713f394a (diff) |
Ignore return types of write and shutil.copy
Python3 does not return None anymore
Diffstat (limited to 'gbp/deb/format.py')
-rw-r--r-- | gbp/deb/format.py | 2 |
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' |