Changeset 6823
- Timestamp:
- Apr 17, 2009, 11:05:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/utilities/terminal_width.py
r6306 r6823 42 42 x = fcntl.ioctl(1, termios.TIOCGWINSZ, s) 43 43 width = struct.unpack('HHHH', x)[1] 44 except IOError:44 except (IOError, ImportError): 45 45 pass 46 46 if width <= 0:
Note: See TracChangeset
for help on using the changeset viewer.