diff --git a/git_archive_all.py b/git_archive_all.py index 8fd464f..49edbda 100755 --- a/git_archive_all.py +++ b/git_archive_all.py @@ -161,7 +161,7 @@ def add_file(file_path, arcname): def add_file(file_path, arcname): archive.add(file_path, arcname) else: - raise RuntimeError("unknown format: {0}".format(output_format)) + raise ValueError("unknown format: {0}".format(output_format)) def archiver(file_path, arcname): self.LOG.debug("Compressing {0} => {1}...".format(file_path, arcname))