Re: 'module' object has no attribute 'TIOCGWINSZ'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Low
|
Vincent Ladeuil |
Bug Description
On Tue, 2006-09-19 at 16:02 -0600, Andrew McNabb wrote:
> Hey. I'm just following orders ("** please send this report to
> <email address hidden>"). Here's my traceback, after doing a "bzr
> checkout" on an IRIX 6.5 box:
>
> bzr: ERROR: <type 'exceptions.
> ...
> x = fcntl.ioctl(1, termios.TIOCGWINSZ, s)
> AttributeError: 'module' object has no attribute 'TIOCGWINSZ'
>
> bzr 0.10.0 on python 2.5.0.final.0 (irix6)
> arguments: ['/fsc/
Looks like TIOCGWINSZ is not always available. We should make this safe
via a three-param getattr call.
I'm filing this as a bug report.
affects /products/bzr
--
GPG key available at: <http://
Related branches
- Martin Pool: Needs Fixing
- John A Meinel: Approve
-
Diff: 208 lines (+106/-38)3 files modifiedNEWS (+4/-2)
bzrlib/osutils.py (+56/-15)
bzrlib/tests/test_osutils.py (+46/-21)
- Vincent Ladeuil: Approve
-
Diff: 31 lines (+4/-4)2 files modifiedbzrlib/lazy_regex.py (+3/-3)
doc/en/release-notes/bzr-2.7.txt (+1/-1)
Changed in bzr: | |
milestone: | 0.13 → none |
assignee: | nobody → Vincent Ladeuil (vila) |
status: | Confirmed → In Progress |
Changed in bzr: | |
assignee: | nobody → Vincent Ladeuil (vila) |
milestone: | none → 2.1.0b4 |
Changed in bzr: | |
status: | Fix Committed → Fix Released |
This is a trivial fix, so lets do it for 0.12