From b728466cb28d39b56ea3ba63bdf1c1b7e3784480 Mon Sep 17 00:00:00 2001 From: Nate Coraor Date: Wed, 4 Nov 2009 16:23:23 -0500 Subject: [PATCH] Fix for printing EggNotFetchable exceptions --- lib/galaxy/eggs/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/galaxy/eggs/__init__.py b/lib/galaxy/eggs/__init__.py index f9ce4b4e4a3..aade74a8233 100644 --- a/lib/galaxy/eggs/__init__.py +++ b/lib/galaxy/eggs/__init__.py @@ -20,6 +20,8 @@ class EggNotFetchable( Exception ): self.eggs = eggs else: self.eggs = [ eggs ] + def __str__( self ): + return ' '.join( self.eggs ) class PlatformNotSupported( Exception ): pass