Skip to content

Commit 1e81539

Browse files
committed
lint: fix inconsistent-return-statements
1 parent ea112e6 commit 1e81539

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pghoard/gnutaremu.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def makedirs(cls, path):
3333
return os.makedirs(path, 0o777)
3434
except FileExistsError:
3535
pass
36+
return None
3637

3738
def run(self):
3839
return self._extract(self._open_input_file())

pghoard/rohmu/compat.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ def makedirs(path, mode=0o777, exist_ok=False):
5656
return os.makedirs(path, mode)
5757
except FileExistsError:
5858
pass
59+
return None

0 commit comments

Comments
 (0)