You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
353 B
12 lines
353 B
3 months ago
|
--- a/utils.py
|
||
|
+++ b/utils.py
|
||
|
@@ -126,7 +126,7 @@
|
||
|
print('This tool needs to run on Red Hat Enterprise Linux')
|
||
|
return None
|
||
|
for rel in release:
|
||
|
- if re.match("\d.\d+",rel):
|
||
|
+ if re.match(r"\d+.\d+",rel):
|
||
|
return rel
|
||
|
print('This tool needs to run on Red Hat Enterprise Linux')
|
||
|
return None
|