From 5eac8e8b8703b10d8e97956b8fc80340a6b05977 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 7 Mar 2014 11:46:14 -0800 Subject: [PATCH] Another indentation fix that isn't helping (tho in this case, obvious why) --- paramiko/util.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/paramiko/util.py b/paramiko/util.py index 11160cf..acd3fc6 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')