Move pep8 checks to py3 by default
Change-Id: I0964970c1590658754ea59b394835dc1472b7292
This commit is contained in:
parent
7a2adab56a
commit
1b0119797f
@ -39,7 +39,7 @@ class Zone:
|
||||
self.to_file(sys.stdout)
|
||||
|
||||
def to_file(self, f):
|
||||
if type(f) is file:
|
||||
if type(f) is 'file':
|
||||
fd = f
|
||||
elif type(f) is str:
|
||||
if os.path.isdir(f):
|
||||
|
Loading…
Reference in New Issue
Block a user