summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/host.py
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-01-25 18:46:26 +0100
committerSimo Sorce <ssorce@redhat.com>2011-01-25 14:01:36 -0500
commitab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch)
tree2f2bde264c001886e90dfb10466539e8f8b75782 /ipalib/plugins/host.py
parent27da394c442e98334726a7aae7da885c840be350 (diff)
downloadfreeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz
freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip
Fix assorted bugs found by pylint
Diffstat (limited to 'ipalib/plugins/host.py')
-rw-r--r--ipalib/plugins/host.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/ipalib/plugins/host.py b/ipalib/plugins/host.py
index 3225a78ab..0bc7947a7 100644
--- a/ipalib/plugins/host.py
+++ b/ipalib/plugins/host.py
@@ -437,7 +437,6 @@ class host_del(LDAPDelete):
break
if not match:
raise errors.NotFound(reason=_('DNS zone %(zone)s not found' % dict(zone=domain)))
- raise e
# Get all forward resources for this host
records = api.Command['dnsrecord_find'](domain, idnsname=parts[0])['result']
for record in records: