Commits

shaung committed 0add927 Draft

Ignore bad datetime.

Comments (0)

Files changed (1)

suds/xsd/sxbuiltin.py

     def translate(self, value, topython=True):
         if topython:
             if isinstance(value, basestring) and len(value):
-                return DateTime(value).datetime
+                try:
+                    return DateTime(value).datetime
+                except:
+                    return value
             else:
                 return None
         else: