Commits

Geert Jansen committed bf32cd6

Fix issue when web.config does not exist.

Comments (0)

Files changed (1)

lib/rest/msiis.py

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