mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-30 19:36:19 +00:00
LGTM fixes. Remove unused import and variables
This commit is contained in:
@ -287,7 +287,8 @@ class Domain(db.Model):
|
||||
account_id = None
|
||||
# add new domain
|
||||
d = Domain()
|
||||
d.name = domain['name'].rstrip('.')
|
||||
d.name = domain['name'].rstrip(
|
||||
'.') # lgtm [py/modification-of-default-value]
|
||||
d.master = str(domain['masters'])
|
||||
d.type = domain['kind']
|
||||
d.serial = domain['serial']
|
||||
|
Reference in New Issue
Block a user