]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
trailing-whitespace eradication, no functional changes
authorBrian Warner <warner@allmydata.com>
Thu, 1 Nov 2007 22:25:16 +0000 (15:25 -0700)
committerBrian Warner <warner@allmydata.com>
Thu, 1 Nov 2007 22:25:16 +0000 (15:25 -0700)
src/allmydata/util/iputil.py

index d7f4de457f3b0b5df4be505ebd71876489278d18..daecfeabc21018eb7b165aab4ba49b0e80d59436 100644 (file)
@@ -148,7 +148,7 @@ class SequentialTrier(object):
 
     def when_tried(self):
         return self.o.when_fired()
-    
+
 # k: platform string as provided in the value of _platform_map
 # v: tuple of (path_to_tool, args, regex,)
 _tool_map = {
@@ -161,7 +161,7 @@ _tool_map = {
     }
 def _find_addresses_via_config():
     # originally by Greg Smith, hacked by Zooko to conform to Brian's API
-    
+
     platform = _platform_map.get(sys.platform)
     if not platform:
         raise UnsupportedPlatformError(sys.platform)
@@ -177,7 +177,7 @@ def _find_addresses_via_config():
         return _query(pathtotool, args, regex)
     else:
         return SequentialTrier(pathtotool, args, regex).when_tried()
-        
+
 def _query(path, args, regex):
     d = getProcessOutput(path, args)
     def _parse(output):
@@ -189,7 +189,7 @@ def _query(path, args, regex):
                 addr = m.groupdict()['address']
                 if addr not in addresses:
                     addresses.append(addr)
-    
+
         return addresses
     d.addCallback(_parse)
     return d