Skip to content

Commit 537c9c5

Browse files
committed
remove unnecessary path variable name
Signed-off-by: rpotter12 <rohitpotter12@gmail.com>
1 parent 6c2e97f commit 537c9c5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

gemfileparser/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ def __init__(self, filepath, appname=''):
6666
'metrics': []
6767
}
6868
self.contents = self.gemfile.readlines()
69-
path = ('gemspec', 'podspec')
70-
if filepath.endswith(path):
69+
if filepath.endswith(('.gemspec', '.podspec')):
7170
self.gemspec = True
7271
else:
7372
self.gemspec = False

0 commit comments

Comments
 (0)