removing unused code branch, brought test coverage up to 100% :)

This commit is contained in:
Dan Buch 2009-11-27 23:12:19 -05:00
parent 5fbb4bfd72
commit feb7a29b19

View File

@ -139,10 +139,8 @@ def _textline_from_cipherline_and_padline(cipherline, padline):
return ''.join(ret)
def _get_textwidth(text):
if isinstance(text, basestring):
text = text.splitlines()
return max([len(line) for line in text])
def _get_textwidth(textlines):
return max([len(line) for line in textlines])
def _is_padline(lineno):