]> git.michaelhowe.org Git - packages/b/bup.git/commit
options.py: don't die if tty width is set to 0.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 23 Jan 2011 00:42:32 +0000 (16:42 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 26 Jan 2011 05:18:56 +0000 (21:18 -0800)
commit241a33ff6c7f37916323f3fea69094379fd8c9fa
tree4f3ebd50de13c5d87750faab7f60c519a803d42e
parent54a850308fe0f07deed13fe095c326ff8ea23151
options.py: don't die if tty width is set to 0.

This sometimes happens if weird people, such as myself, open a pty without
setting the width field correctly.

(copied from the sshuttle project)

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/options.py