1. Geert Jansen
  2. python-rest

Commits

Geert Jansen  committed bf32cd6

Fix issue when web.config does not exist.

  • Participants
  • Parent commits 1996e91
  • Branches default

Comments (0)

Files changed (1)

File lib/rest/msiis.py

View file
         tree = ElementTree()
         tree.parse(fin)
         fin.close()
-    except OSError:
+    except IOError:
         config = Element('configuration')
         tree = ElementTree(node)
     config = tree.getroot()