We don't have a code for some exceptions
authorDan Scott <dscott@laurentian.ca>
Fri, 17 Mar 2017 17:37:22 +0000 (13:37 -0400)
committerDan Scott <dscott@laurentian.ca>
Fri, 17 Mar 2017 17:37:22 +0000 (13:37 -0400)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
tools/patron-load/ldap_osrf_sync

index a88e523..065f89d 100755 (executable)
@@ -284,7 +284,7 @@ def load_idl():
         idlfile.seek(0)
 
     except urllib2.URLError, exc:
-        print("Could not open URL to read IDL: %s", exc.code)
+        print("Could not open URL to read IDL: %s", exc)
 
     except IOError, exc:
         print("Could not write IDL to file: %s", exc.code)