diff --git a/src/codemod.py b/src/codemod.py index d1bad29..b63eec4 100755 --- a/src/codemod.py +++ b/src/codemod.py @@ -37,10 +37,7 @@ def is_extensionless(path): True """ _, ext = os.path.splitext(path) - if ext == '': - return True - else: - return False + return ext == '' def matches_extension(path, extension): """