summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge
index 471f8336b..963675439 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1462,7 +1462,7 @@ class depgraph:
raise # Needed else can't exit
except Exception, e:
print >> sys.stderr, "\n\n!!! Problem in '%s' dependencies." % mykey
- print >> sys.stderr, "!!!", str(e), e.__module__
+ print >> sys.stderr, "!!!", str(e), getattr(e, "__module__", None)
raise
if not self.mysd: