aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/export_orig.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/scripts/export_orig.py')
-rwxr-xr-xgbp/scripts/export_orig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/export_orig.py b/gbp/scripts/export_orig.py
index ea6c8870..1afbe6db 100755
--- a/gbp/scripts/export_orig.py
+++ b/gbp/scripts/export_orig.py
@@ -235,7 +235,7 @@ def guess_comp_type(comp_type, source, repo, tarball_dir):
if comp_type == 'auto':
if repo and repo.has_pristine_tar_branch():
- regex = 'pristine-tar .* %s_%s\.orig.tar\.' % (source.name, source.upstream_version)
+ regex = r'pristine-tar .* %s_%s\.orig.tar\.' % (source.name, source.upstream_version)
commits = repo.grep_log(regex, repo.pristine_tar_branch, merges=False)
if commits:
commit = commits[-1]