aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xgbp/scripts/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/pq.py b/gbp/scripts/pq.py
index f4b699e5..de9b0e31 100755
--- a/gbp/scripts/pq.py
+++ b/gbp/scripts/pq.py
@@ -333,7 +333,7 @@ def import_quilt_patches(repo, branch, series, tries, force, pq_from,
try:
name = os.path.basename(patch.path)
apply_and_commit_patch(repo, patch, maintainer, patch.topic, name)
- except (GbpError, GitRepositoryError) as e:
+ except Exception as e:
gbp.log.err("Failed to apply '%s': %s" % (patch.path, e))
repo.force_head('HEAD', hard=True)
repo.set_branch(branch)