mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-06 21:33:14 +00:00
ipaserver_test: Initialize value from options.zonemgr
In the test of options.zonemgr the value has been be checked uninitialized.
This commit is contained in:
@@ -797,6 +797,7 @@ def main():
|
||||
encoding = getattr(sys.stdin, 'encoding', None)
|
||||
if encoding is None:
|
||||
encoding = 'utf-8'
|
||||
value = options.zonemgr
|
||||
if not isinstance(value, unicode):
|
||||
value = options.zonemgr.decode(encoding)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user