summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-03-07 11:46:14 -0800
committerJeff Forcier <jeff@bitprophet.org>2014-03-07 11:46:14 -0800
commit5eac8e8b8703b10d8e97956b8fc80340a6b05977 (patch)
tree177f453ca9a051628a2ceb08152fab1999b2a061
parent8f49c15258925fa5f273c21abb783f73356ca9db (diff)
Another indentation fix that isn't helping (tho in this case, obvious why)
-rw-r--r--paramiko/util.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/paramiko/util.py b/paramiko/util.py
index 11160cfe..acd3fc69 100644
--- a/paramiko/util.py
+++ b/paramiko/util.py
@@ -133,13 +133,13 @@ def bit_length(n):
except AttributeError:
norm = deflate_long(n, 0)
hbyte = byte_ord(norm[0])
- if hbyte == 0:
- return 1
- bitlen = len(norm) * 8
- while not (hbyte & 0x80):
- hbyte <<= 1
- bitlen -= 1
- return bitlen
+ if hbyte == 0:
+ return 1
+ bitlen = len(norm) * 8
+ while not (hbyte & 0x80):
+ hbyte <<= 1
+ bitlen -= 1
+ return bitlen
def tb_strings():
return ''.join(traceback.format_exception(*sys.exc_info())).split('\n')