Kaydet (Commit) 7543a416 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix indent to get this working again

Change-Id: If48dcf4d04d3888975687aa85557e2cee317f2dd
üst 17ccc09e
...@@ -29,19 +29,19 @@ import stat ...@@ -29,19 +29,19 @@ import stat
import sys import sys
import threading, Queue import threading, Queue
try: try:
from urllib.request import urlopen from urllib.request import urlopen
except: except:
from urllib import urlopen from urllib import urlopen
try: try:
import xmlrpc.client as xmlrpclib import xmlrpc.client as xmlrpclib
except: except:
import xmlrpclib import xmlrpclib
from xml.dom import minidom from xml.dom import minidom
from xml.sax.saxutils import escape from xml.sax.saxutils import escape
def urlopen_retry(url): def urlopen_retry(url):
maxretries = 3 maxretries = 3
for i in range(maxretries + 1): for i in range(maxretries + 1):
try: try:
return urlopen(url) return urlopen(url)
except IOError as e: except IOError as e:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment