Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork938
BF (codename "happy travis"): trying to address lints etc to make Travis green again#702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
6ee08fc
086af07
e1aea3a
c352dba
42e89cc
d723148
dcfe242
0a67f25
6253625
91b9bc4
b4459ca
cc34077
4d851a6
f48d087
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -139,7 +139,7 @@ def repo_creator(self): | ||
try: | ||
try: | ||
return func(self, rw_repo) | ||
except: # noqa E722 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. How about There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. We could. But at this out-most level of handling execution, I thought to remain as "greedy" as possible. May be someone (among used dependencies) still manages to raise non-Exception "exceptions" up the chain from somewhere/somehow -- so I thought to remain catching them as well. In the other places it was more "specific" to not expect some complete weird stuff being thrown up. But if you insist, we could have it Exception here as well | ||
log.info("Keeping repo after failure: %s", repo_dir) | ||
repo_dir = None | ||
raise | ||
@@ -227,7 +227,7 @@ def with_rw_and_rw_remote_repo(working_tree_ref): | ||
Same as with_rw_repo, but also provides a writable remote repository from which the | ||
rw_repo has been forked as well as a handle for a git-daemon that may be started to | ||
run the remote_repo. | ||
The remote repository was cloned as bare repository from thero repo, whereas | ||
the rw repo has a working tree and was cloned from the remote repository. | ||
remote_repo has two remotes: origin and daemon_origin. One uses a local url, | ||
@@ -296,7 +296,7 @@ def remote_repo_creator(self): | ||
with cwd(rw_repo.working_dir): | ||
try: | ||
return func(self, rw_repo, rw_daemon_repo) | ||
except: # noqa E722 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. How about | ||
log.info("Keeping repos after failure: \n rw_repo_dir: %s \n rw_daemon_repo_dir: %s", | ||
rw_repo_dir, rw_daemon_repo_dir) | ||
rw_repo_dir = rw_daemon_repo_dir = None | ||