Added patch from Andrew Gaffney <agaffney@gentoo.org> to fix up some of the tab/space...
[catalyst.git] / modules / catalyst_support.py
index 50e6590358488ac18b9032e9dfaa54b5606025ba..aae718324906a155d1494b100dce0cc62612769b 100644 (file)
@@ -54,12 +54,12 @@ def cleanup(pids,block_exceptions=True):
 # a function to turn a string of non-printable characters into a string of
 # hex characters
 def hexify(str):
-    hexStr = string.hexdigits
-    r = ''
-    for ch in str:
-       i = ord(ch)
-       r = r + hexStr[(i >> 4) & 0xF] + hexStr[i & 0xF]
-    return r
+       hexStr = string.hexdigits
+       r = ''
+       for ch in str:
+               i = ord(ch)
+               r = r + hexStr[(i >> 4) & 0xF] + hexStr[i & 0xF]
+       return r
 # hexify()
 
 def generate_hash(file,hash_function="crc32",verbose=False):