From c22fb3cb2eadaaedf8ff7d68855d340975dd4c6b Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 19 Feb 2015 12:43:24 +0100 Subject: Ignore return types of write and shutil.copy Python3 does not return None anymore --- gbp/deb/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gbp') 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' -- cgit v1.2.3