Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD.
authorZac Medico <zmedico@gentoo.org>
Sun, 12 Sep 2010 21:37:14 +0000 (14:37 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 12 Sep 2010 21:37:14 +0000 (14:37 -0700)
pym/portage/exception.py

index bfb90cc16dca565761b60f68315692815f5c0656..6fa975ae65781c0ea95a8694799d788152e5ee6c 100644 (file)
@@ -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):