From: Zac Medico Date: Sun, 12 Sep 2010 21:37:14 +0000 (-0700) Subject: Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD. X-Git-Tag: v2.2_rc81~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cdf1ad214e335eb1c49d3993a68a16ec90475746;p=portage.git Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD. --- diff --git a/pym/portage/exception.py b/pym/portage/exception.py index bfb90cc16..6fa975ae6 100644 --- 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):