runtime error

This commit is contained in:
2016-06-20 02:36:02 +02:00
parent 5c80bc4e47
commit e1d0e7c413
+1 -1
View File
@@ -133,7 +133,7 @@ class DeploymentRunner:
log.error( log.error(
"non-empty %s exists but not a valid git repository!", "non-empty %s exists but not a valid git repository!",
self.build_repo_path) self.build_repo_path)
raise RuntimeException(("non-empty {} exists but not a" raise RuntimeError(("non-empty {} exists but not a"
"valid git repository!").format(self.build_repo_path)) "valid git repository!").format(self.build_repo_path))
else: else:
log.info("Build repository %s not there, cloning", log.info("Build repository %s not there, cloning",