Browse Source

Fixing creolefunc

moveToApache
Philippe Caseiro 1 year ago
parent
commit
05b0822b97
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      creolefuncs/certificates.py

+ 1
- 1
creolefuncs/certificates.py View File

@@ -7,9 +7,9 @@ def getIDPCert(idp_url, key_type):
7 7
     import re
8 8
     import yaml
9 9
 
10
-    dom = minidom.parse(urllib2.urlopen(idp_url))
11 10
 
12 11
     try:
12
+        dom = minidom.parse(urllib2.urlopen(idp_url))
13 13
         keyDescriptors = dom.getElementsByTagName('KeyDescriptor');
14 14
     except:
15 15
         return ""

Loading…
Cancel
Save