it really should not have been is here, that would not make since

Signed-off-by: Mattias Andrée <maandree@operamail.com>
This commit is contained in:
Mattias Andrée 2013-08-17 06:38:52 +02:00
parent 0d73716fce
commit 857eb42aa6

View file

@ -976,8 +976,8 @@ class Ponysay():
## Print the output, truncated on height is so set ## Print the output, truncated on height is so set
lines = gettermsize()[0] - int(env_lines) lines = gettermsize()[0] - int(env_lines)
if self.linuxvt or (env_height is ('yes', 'y', '1')): if self.linuxvt or (env_height in ('yes', 'y', '1')):
if env_bottom is ('yes', 'y', '1'): if env_bottom in ('yes', 'y', '1'):
for line in output.split('\n')[: -lines]: for line in output.split('\n')[: -lines]:
print(line) print(line)
else: else: