commit 85952625b27111171bf073a8516f99ffd1fb72d6 Author: ilv ilv@users.noreply.github.com Date: Tue Jul 15 16:11:25 2014 -0400
Format fixed (PEP8) --- src/gettor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/gettor.py b/src/gettor.py index 253c01e..7c35cc5 100644 --- a/src/gettor.py +++ b/src/gettor.py @@ -263,8 +263,8 @@ class Core(object): locale, config) except RuntimeError as e: self.logger.warning("-- Links misconfiguration %s" % str(e)) - - # Each provider must have a fingerprint of the key used to + + # Each provider must have a fingerprint of the key used to # sign the uploaded packages try: self.logger.debug("-- Trying to get fingerprint from %s", @@ -287,7 +287,7 @@ class Core(object): all_links.append( "\n%s\n%s\n" % (key, ''.join(providers[key])) ) - + if all_links: return "".join(all_links) else: @@ -334,9 +334,9 @@ class Core(object): file with the proper format. It backs up the old links file (if exists) and creates a new one. The name for the links file is the provider's name in lowercase. It receives the fingerprint - of the key that signed the packages. - - It raises a general exception if something goes wrong while + of the key that signed the packages. + + It raises a general exception if something goes wrong while creating the new file.
Arguments:
tor-commits@lists.torproject.org