From 872957da4edf9b167cc9ecc3df8333498144406f Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Mon, 26 Mar 2012 09:41:05 +0200 Subject: [PATCH] Whitespace --- ubuntutools/archive.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ubuntutools/archive.py b/ubuntutools/archive.py index 2cde8dd..fcb206b 100644 --- a/ubuntutools/archive.py +++ b/ubuntutools/archive.py @@ -110,7 +110,7 @@ class Dsc(debian.deb822.Dsc): if (size != their_checksums[name][0] or checksum != their_checksums[name][1]): return False - return True # one checksum is good enough + return True # one checksum is good enough return True @@ -317,7 +317,8 @@ class SourcePackage(object): if parsed.scheme == 'file': in_ = open(parsed.path, 'r') else: - proxy = urllib2.ProxyHandler() # uses default proxy from environment + # uses default proxy from environment + proxy = urllib2.ProxyHandler() opener = urllib2.build_opener(proxy) try: in_ = opener.open(url)