[Pkg-privacy-commits] [onionbalance] 15/117: PEP8 fixes

Donncha O'Cearbahill donncha-guest at moszumanska.debian.org
Wed Dec 16 23:18:42 UTC 2015


This is an automated email from the git hooks/post-receive script.

donncha-guest pushed a commit to branch debian/sid
in repository onionbalance.

commit 73f86746e25b7aad06eec19c1a71743819152446
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date:   Tue Jun 9 22:49:32 2015 +0100

    PEP8 fixes
---
 onionbalance/descriptor.py    | 2 +-
 onionbalance/hiddenservice.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/onionbalance/descriptor.py b/onionbalance/descriptor.py
index 64ca3f6..b704c3f 100644
--- a/onionbalance/descriptor.py
+++ b/onionbalance/descriptor.py
@@ -39,7 +39,7 @@ def generate_hs_descriptor(permanent_key, introduction_point_list=None,
     if not introduction_point_list:
         logger.warning("No introduction points for service '%s'. "
                        "Skipping upload." % util.calc_onion_address(
-                            permanent_key))
+                           permanent_key))
         return None
 
     intro_section = make_introduction_points_part(
diff --git a/onionbalance/hiddenservice.py b/onionbalance/hiddenservice.py
index a6ba9e0..60da101 100644
--- a/onionbalance/hiddenservice.py
+++ b/onionbalance/hiddenservice.py
@@ -193,8 +193,8 @@ class HiddenService(object):
         Publish descriptor if have new IP's or if descriptor has expired
         """
 
-        if (    self._intro_points_modified() or
-                self._descriptor_expiring() or
+        if (self._intro_points_modified() or
+            self._descriptor_expiring() or
                 force):
             logger.info("Publishing new descriptor for '%s'" %
                         self.onion_address)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionbalance.git



More information about the Pkg-privacy-commits mailing list