This commit is contained in:
Wolfgang Hottgenroth 2009-02-21 21:05:08 +01:00
parent 969e2b3f98
commit 86efde5a83
2 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ class MyCmd(cmd.Cmd):
zone = parts[0]
if not MyCmd.customers.has_key(zone):
raise LocalMyCmdException("unknown zone")
del MyCmd.entries[x]
del MyCmd.customers[zone]
self.stdout.write("Done\n")
except LocalMyCmdException, e:
self.stdout.write("Failure: %s\n" % str(e.msg))

View File

@ -50,7 +50,7 @@ CUSTOMERS_FILE = "/var/db/yadyn/customers"
ACTIONLOG_DIR = "/var/db/yadyn/actionlog"
ADMIN_PWD = 'test123'
DNS_DUMMY = False
DEBUG = True
DEBUG = False