removing unused code branch, brought test coverage up to 100% :)
This commit is contained in:
parent
5fbb4bfd72
commit
feb7a29b19
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user