mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
projects.py: Os-cascade: Fix regex
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
e446df30e5
commit
fd6607de15
1 changed files with 1 additions and 1 deletions
|
|
@ -155,7 +155,7 @@ class Projects(object):
|
|||
name = re.sub('-.*', '', os)
|
||||
series = os
|
||||
while True:
|
||||
n = re.sub('\.[0-9]+$', '', series)
|
||||
n = re.sub(r'\.[0-9]+$', '', series)
|
||||
if n == series:
|
||||
break
|
||||
r.append(n)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue