Refactoring

develop 3.4.1.3
Mike Khiretskiy 9 years ago
parent 20d09bbabf
commit 4f2809e224

@ -305,6 +305,8 @@ class VariableClUpdateBinhostData(ReadonlyTableVariable):
except urllib2.URLError as e:
pass
except BaseException as e:
if isinstance(e, KeyboardInterrupt):
raise
pass
return "", -1
@ -916,7 +918,7 @@ class VariableClUpdateProfileUrl(Variable):
return ""
git = Git()
return git.get_url(profile, "origin") or ""
except:
except Exception:
pass
return self.default_url
@ -979,7 +981,7 @@ class VariableClProfileRepository(ReadonlyVariable):
return ""
ls = LocalStorage(path.dirname(profile_dn))
return ProfileRepository(path.basename(profile_dn), ls)
except:
except Exception:
return ""

Loading…
Cancel
Save