Skip to content

Commit

Permalink
do not mix tabs and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
pabra committed Sep 29, 2016
1 parent af81cb8 commit 780a36f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions inwx.py
Expand Up @@ -93,7 +93,7 @@ def contacts(contacts):
"""
iterable contacts: The list of contacts to be printed.
"""
if("resData" in contacts):
if("resData" in contacts):
contacts = contacts['resData']

output = "\nCurrently you have %i contacts set up for your account at InterNetworX:\n\n" % len(contacts['contact'])
Expand All @@ -106,8 +106,8 @@ def domains(domains):
"""
list domains: The list of domains to be pretty printed.
"""
if("resData" in domains):
domains = domains['resData']
if("resData" in domains):
domains = domains['resData']

output = "\n%i domains:\n" % len(domains['domain'])
for domain in domains['domain']:
Expand All @@ -119,8 +119,8 @@ def nameserversets(nameserversets):
"""
list namerserversets: The list of nameserversets to be pretty printed.
"""
if("resData" in nameserversets):
nameserversets = nameserversets['resData']
if("resData" in nameserversets):
nameserversets = nameserversets['resData']

count, total = 0, len(nameserversets['nsset'])
output = "\n%i nameserversets:\n" % total
Expand Down Expand Up @@ -150,8 +150,8 @@ def domain_check(checks):
"""
list checks: The list of domain checks to be pretty printed.
"""
if("resData" in checks):
checks = checks['resData']
if("resData" in checks):
checks = checks['resData']

count, total = 0, len(checks)
output = "\n%i domain check(s):\n" % total
Expand Down

0 comments on commit 780a36f

Please sign in to comment.