mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
fix bonehead typo
This commit is contained in:
parent
de523f857a
commit
d71ffcf4f3
@ -2730,7 +2730,7 @@ def _processPolicyDefinitions(policy_def_path='c:\\Windows\\PolicyDefinitions',
|
||||
except lxml.etree.XMLSyntaxError:
|
||||
try:
|
||||
xmltree = _remove_unicode_encoding(admfile)
|
||||
except as Exception:
|
||||
except Exception:
|
||||
msg = ('A error was found while processing admx file {0},'
|
||||
' all policies from this file will be unavailable via this module')
|
||||
log.error(msg.format(admfile))
|
||||
@ -2791,7 +2791,7 @@ def _processPolicyDefinitions(policy_def_path='c:\\Windows\\PolicyDefinitions',
|
||||
# see issue #38100
|
||||
try:
|
||||
xmltree = _remove_unicode_encoding(adml_file)
|
||||
except as Exception:
|
||||
except Exception:
|
||||
msg = ('An error was found while processing adml file {0}, all policy'
|
||||
' languange data from this file will be unavailable via this module')
|
||||
log.error(msg.format(adml_file))
|
||||
|
Loading…
Reference in New Issue
Block a user