@@ -139,7 +139,7 @@ def repo_creator(self):
139139try :
140140try :
141141return func (self ,rw_repo )
142- except :
142+ except :# noqa E722
143143log .info ("Keeping repo after failure: %s" ,repo_dir )
144144repo_dir = None
145145raise
@@ -227,7 +227,7 @@ def with_rw_and_rw_remote_repo(working_tree_ref):
227227 Same as with_rw_repo, but also provides a writable remote repository from which the
228228 rw_repo has been forked as well as a handle for a git-daemon that may be started to
229229 run the remote_repo.
230- The remote repository was cloned as bare repository from therorepo , whereas
230+ The remote repository was cloned as bare repository from thero repo , whereas
231231 the rw repo has a working tree and was cloned from the remote repository.
232232
233233 remote_repo has two remotes: origin and daemon_origin. One uses a local url,
@@ -296,7 +296,7 @@ def remote_repo_creator(self):
296296with cwd (rw_repo .working_dir ):
297297try :
298298return func (self ,rw_repo ,rw_daemon_repo )
299- except :
299+ except :# noqa E722
300300log .info ("Keeping repos after failure:\n rw_repo_dir: %s\n rw_daemon_repo_dir: %s" ,
301301rw_repo_dir ,rw_daemon_repo_dir )
302302rw_repo_dir = rw_daemon_repo_dir = None