From cdf1ad214e335eb1c49d3993a68a16ec90475746 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Sep 2010 14:37:14 -0700 Subject: [PATCH] Bug #336875 - Don't reference errno.ETIME since it's undefined on FreeBSD. --- pym/portage/exception.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- 2.26.2