X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=clientbin%2FgetRecord.py;fp=clientbin%2FgetRecord.py;h=c88f193e55573d40562f7a49eebd35716f4ec968;hp=e2be593b195c783221a893075e361dcef5b33400;hb=a0ef6e7c91c3c8fa376943d28fec8c5c204a78cd;hpb=5751be639a614b656c902d0aca51af7ae29d20a8 diff --git a/clientbin/getRecord.py b/clientbin/getRecord.py index e2be593b..c88f193e 100755 --- a/clientbin/getRecord.py +++ b/clientbin/getRecord.py @@ -78,8 +78,8 @@ def main(): if __name__ == '__main__': try: main() - except ExpatError, e: + except ExpatError as e: print "RecordError. Is your record valid XML?" print e - except Exception, e: + except Exception as e: print e