diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-03-29 15:35:55 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-03-29 15:36:38 +0100 |
commit | 733573511a77bd2fdbbff61b9bd62b40ad63eac2 (patch) | |
tree | 42efdb5ad2a6d96335425b00d1ca99c30a974cc1 /gbp/deb/policy.py | |
parent | 62d3b9989919664fa81a317d8af320671a94803f (diff) |
Move DscFile to separate module
Diffstat (limited to 'gbp/deb/policy.py')
-rw-r--r-- | gbp/deb/policy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gbp/deb/policy.py b/gbp/deb/policy.py index 9c1b018..b35603c 100644 --- a/gbp/deb/policy.py +++ b/gbp/deb/policy.py @@ -54,6 +54,9 @@ class DebianPkgPolicy(PkgPolicy): letters (a-z), digits (0-9), full stops (.), plus signs (+), minus signs (-), colons (:) and tildes (~)""" + # Valid characters in a debian version + debianversion_chars = 'a-zA-Z\\d.~+-' + @staticmethod def build_tarball_name(name, version, compression, dir=None): """ |