equal
deleted
inserted
replaced
159 def updateinfoproc(): |
159 def updateinfoproc(): |
160 global updateinfo |
160 global updateinfo |
161 try: |
161 try: |
162 import urllib2 |
162 import urllib2 |
163 updateinfo = urllib2.urlopen(self.updateinfo_url, None).read() |
163 updateinfo = urllib2.urlopen(self.updateinfo_url, None).read() |
164 except: |
164 except Exception: |
165 updateinfo = _("update info unavailable.") |
165 updateinfo = _("update info unavailable.") |
166 |
166 |
167 from threading import Thread |
167 from threading import Thread |
168 self.splash.SetText(text=updateinfo) |
168 self.splash.SetText(text=updateinfo) |
169 updateinfoThread = Thread(target=updateinfoproc) |
169 updateinfoThread = Thread(target=updateinfoproc) |