diff options
| author | David Kupka <dkupka@redhat.com> | 2016-01-08 11:26:53 +0000 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-01-11 16:34:31 +0100 |
| commit | bc6543efae9bb1bf7c5e792e30b1ea396607f57e (patch) | |
| tree | cc109d25bdd481a134dbb2d9cbacef36f65cf3b2 | |
| parent | da1b119663daa8a24d68b799cb97552924beac4b (diff) | |
| download | freeipa-bc6543efae9bb1bf7c5e792e30b1ea396607f57e.tar.gz freeipa-bc6543efae9bb1bf7c5e792e30b1ea396607f57e.tar.xz freeipa-bc6543efae9bb1bf7c5e792e30b1ea396607f57e.zip | |
Fix: Use unattended parameter instead of options.unattended
Attribute 'unattended' is not always present in 'options' so function
parameter 'unattended' should be used.
https://fedorahosted.org/freeipa/ticket/5563
Reviewed-By: Martin Basti <mbasti@redhat.com>
| -rw-r--r-- | ipaserver/install/bindinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index be55f6c09..3d4900e78 100644 --- a/ipaserver/install/bindinstance.py +++ b/ipaserver/install/bindinstance.py @@ -463,7 +463,7 @@ def check_reverse_zones(ip_addresses, reverse_zones, options, unattended, ipautil.check_zone_overlap(rz) except ValueError as e: msg = "Reverse zone %s will not be used: %s" % (rz, e) - if options.unattended: + if unattended: sys.exit(msg) else: root_logger.warning(msg) |
