This commit is contained in:
Daniel A. Wozniak 2019-04-22 00:46:01 +00:00
parent 859d088da8
commit e69fcc57de
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

View file

@ -174,7 +174,7 @@ def _parse_chattr_man(man):
'''
match = re.search(
r'E2fsprogs version [0-9\.]+',
salt.utils.string_utils.to_str(man),
salt.utils.stringutils.to_str(man),
)
if match:
version = match.group().strip('E2fsprogs version ')