Message263701
| Author |
abarry |
| Recipients |
abarry |
| Date |
2016年04月18日.23:43:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461023037.12.0.975016313479.issue26801@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
`shutil.get_terminal_size()` will sometimes propagate `AttributeError: module <os> has not attribute 'get_terminal_size'` to the caller. The call checks for NameError, which makes no sense, so I guess it must be an oversight. Attached patch fixes it.
(diff was generated with git, I don't know if it works with Mercurial, but it's a trivial change anyway) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月18日 23:43:57 | abarry | set | recipients:
+ abarry |
| 2016年04月18日 23:43:57 | abarry | set | messageid: <1461023037.12.0.975016313479.issue26801@psf.upfronthosting.co.za> |
| 2016年04月18日 23:43:57 | abarry | link | issue26801 messages |
| 2016年04月18日 23:43:57 | abarry | create |
|