changeset 149 | f2e327a7c5de |
parent 109 | 620f9b141567 |
--- a/thirdparty/google_appengine/google/appengine/api/yaml_errors.py Tue Sep 16 01:18:49 2008 +0000 +++ b/thirdparty/google_appengine/google/appengine/api/yaml_errors.py Tue Sep 16 02:28:33 2008 +0000 @@ -68,7 +68,7 @@ def __init__(self, cause): """Initialize event-listener error.""" - if hasattr(cause, 'args'): + if hasattr(cause, 'args') and cause.args: Error.__init__(self, *cause.args) else: Error.__init__(self, str(cause))