diff options
Diffstat (limited to 'gbp/deb/git.py')
-rw-r--r-- | gbp/deb/git.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gbp/deb/git.py b/gbp/deb/git.py index 85c9da5e..12ad34d2 100644 --- a/gbp/deb/git.py +++ b/gbp/deb/git.py @@ -32,10 +32,7 @@ import gbp.log class DebianGitRepository(PkgGitRepository): """A git repository that holds the source of a Debian package""" - version_mangle_re = (r'%\(version' - r'%(?P<M>[^%])' - r'%(?P<R>([^%]|\\%))+' - r'\)s') + version_mangle_re = PkgPolicy.version_mangle_re def __init__(self, *args, **kwargs): super(DebianGitRepository, self).__init__(*args, **kwargs) |