changeset 149 | f2e327a7c5de |
parent 109 | 620f9b141567 |
child 828 | f5fd65cc3bf3 |
--- a/thirdparty/google_appengine/google/appengine/api/validation.py Tue Sep 16 01:18:49 2008 +0000 +++ b/thirdparty/google_appengine/google/appengine/api/validation.py Tue Sep 16 02:28:33 2008 +0000 @@ -57,7 +57,7 @@ def __init__(self, message, cause=None): """Initialize exception.""" - if hasattr(cause, 'args'): + if hasattr(cause, 'args') and cause.args: Error.__init__(self, message, *cause.args) else: Error.__init__(self, message)