This commit is contained in:
brent s committed 2019-05-31 16:03:14 -04:00
1 parent 4ef4a939e8
commit a89a6ec94b
2 files changed
+21 -6

No files matched your search

+2
View File
@@ -6,6 +6,8 @@ import sys
from lxml import etree
import yum
# See <optools>:/storage/backups/borg/tools/restore_yum_pkgs.py to use the XML file this generates.
# Detect RH version.
ver_re =re.compile('^(centos.*|red\s?hat.*) ([0-9\.]+) .*$', re.IGNORECASE)