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

Loading…
Cancel
Save