• jbd's avatar
    Check for fileno attribute in _tty_width function · bbd54e15
    jbd authored
    When using Options parser within a unittest.TextTestRunner with buffering enabled (buffer=True), it fails with: 
    AttributeError: StringIO instance has no attribute 'fileno'
    
    This change will prevent this kind of error.
    bbd54e15
Name
Last commit
Last update
..
compat Loading commit data...
ui-macos Loading commit data...
Makefile Loading commit data...
all.do Loading commit data...
assembler.py Loading commit data...
clean.do Loading commit data...
client.py Loading commit data...
default.8.do Loading commit data...
do Loading commit data...
firewall.py Loading commit data...
helpers.py Loading commit data...
hostwatch.py Loading commit data...
main.py Loading commit data...
options.py Loading commit data...
server.py Loading commit data...
ssh.py Loading commit data...
sshuttle Loading commit data...
sshuttle.md Loading commit data...
ssnet.py Loading commit data...
ssyslog.py Loading commit data...
stresstest.py Loading commit data...