Skip to content

Commit 0b31a5f

Browse files
Updated for/else statement
1 parent db55f78 commit 0b31a5f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ def get_version(rel_path):
3636
if line.startswith('__version__'):
3737
delim = '"' if '"' in line else "'"
3838
return line.split(delim)[1]
39-
else:
40-
raise RuntimeError("Unable to find a valid __version__ string in %s." % rel_path)
39+
raise RuntimeError("Unable to find a valid __version__ string in %s." % rel_path)
4140

4241
setup(
4342
name='scaleapi',

0 commit comments

Comments
 (0)