projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3f186
)
Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Sep 2010 21:37:14 +0000
(14:37 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 12 Sep 2010 21:37:14 +0000
(14:37 -0700)
pym/portage/exception.py
patch
|
blob
|
history
diff --git
a/pym/portage/exception.py
b/pym/portage/exception.py
index bfb90cc16dca565761b60f68315692815f5c0656..6fa975ae65781c0ea95a8694799d788152e5ee6c 100644
(file)
--- a/
pym/portage/exception.py
+++ b/
pym/portage/exception.py
@@
-82,7
+82,9
@@
class TryAgain(PortageException):
"""Try again"""
class TimeoutException(PortageException):
- from errno import ETIME as errno
+ """Operation timed out"""
+ # NOTE: ETIME is undefined on FreeBSD (bug #336875)
+ #from errno import ETIME as errno
class AlarmSignal(TimeoutException):
def __init__(self, value, signum=None, frame=None):