From 47731f45845a4cc27da65b98a6ba82388824f363 Mon Sep 17 00:00:00 2001 From: David Kupka Date: Wed, 15 Oct 2014 09:24:20 -0400 Subject: [PATCH] Fix printing of reverse zones in ipa-dns-install. This was forgotten in patch for ticket https://fedorahosted.org/freeipa/ticket/3575 Reviewed-By: Martin Basti --- install/tools/ipa-dns-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index ae60f211a..bf9d99080 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -154,8 +154,8 @@ def main(): reverse_zones = bindinstance.check_reverse_zones(ip_addresses, options.reverse_zones, options, options.unattended, True) - if reverse_zones is not None: - print "Using reverse zone %s" % ', '.join(reverse_zones) + if reverse_zones: + print "Using reverse zone(s) %s" % ', '.join(reverse_zones) conf_ntp = ntpinstance.NTPInstance(fstore).is_enabled()