mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 08:12:55 +00:00
Get rid of SyntaxWarning: invalid escape sequence '\d'
Signed-off-by: Miro Hrončok <miro@hroncok.cz>
This commit is contained in:
parent
12342a17b7
commit
d624da9778
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ class Commands(Commands):
|
||||||
# For MD5 we want to use the old format of source files, the BSD format
|
# For MD5 we want to use the old format of source files, the BSD format
|
||||||
# should only be used when configured for SHA512
|
# should only be used when configured for SHA512
|
||||||
self.source_entry_type = "bsd" if self.lookasidehash != "md5" else "old"
|
self.source_entry_type = "bsd" if self.lookasidehash != "md5" else "old"
|
||||||
self.branchre = "c\d{1,}(s)?(tream)?|master"
|
self.branchre = r"c\d{1,}(s)?(tream)?|master"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def distgitdir(self):
|
def distgitdir(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue