Changeset fa81e94 in sasview for src/sas/sasgui/guiframe/proxy.py
- Timestamp:
- Nov 15, 2017 4:33:09 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- d4881f6a
- Parents:
- 7c487846
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/proxy.py
ra1b8fee rfa81e94 127 127 logger.debug("Trying Direct connection to %s..."%self.url) 128 128 response = urllib2.urlopen(req, timeout=self.timeout) 129 except Exception, e:129 except (Exception, e): 130 130 logger.debug("Failed!") 131 131 logger.debug(e) … … 134 134 self._set_proxy() 135 135 response = urllib2.urlopen(req, timeout=self.timeout) 136 except Exception, e:136 except (Exception, e): 137 137 logger.debug("Failed!") 138 138 logger.debug(e) … … 144 144 self._set_proxy(proxy) 145 145 response = urllib2.urlopen(req, timeout=self.timeout) 146 except Exception, e:146 except (Exception, e): 147 147 logger.debug("Failed!") 148 148 logger.debug(e)
Note: See TracChangeset
for help on using the changeset viewer.