aboutsummaryrefslogtreecommitdiff
path: root/repo_to_repo.py
diff options
context:
space:
mode:
Diffstat (limited to 'repo_to_repo.py')
-rwxr-xr-xrepo_to_repo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo_to_repo.py b/repo_to_repo.py
index 77820529..3b3b9bc4 100755
--- a/repo_to_repo.py
+++ b/repo_to_repo.py
@@ -255,7 +255,7 @@ class GitRepo(Repo):
elif commit_message:
message_arg = '-m \'%s\'' % commit_message
else:
- raise Exception('No commit message given!')
+ raise RuntimeError('No commit message given!')
command += '&& git commit -v %s' % message_arg
return self._ce.RunCommand(command)