Fix small issues detected by codacy
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import os
|
||||
|
||||
|
||||
class WODomain():
|
||||
class WODomain:
|
||||
"""WordOps domain validation utilities"""
|
||||
|
||||
def validate(self, url):
|
||||
@@ -24,7 +24,6 @@ class WODomain():
|
||||
return final_domain
|
||||
return domain_name
|
||||
|
||||
|
||||
def getlevel(self, domain):
|
||||
"""
|
||||
Returns the domain type : domain, subdomain and the root domain
|
||||
|
||||
Reference in New Issue
Block a user