Skip to content

Commit 513d993

Browse files
Merge pull request #648 from wbarnha/modify-setup-systemexit
Update setup.py syntax so RuntimeError is properly raised
2 parents c6a3426 + 4bb3f44 commit 513d993

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
class bdist_egg(original_bdist_egg):
2020
def run(self):
2121
raise SystemExit(
22-
f"{type(self).__name__} is forbidden, "
23-
"please update to setuptools>=45 which uses pip"
22+
"%s is forbidden, "
23+
"please update to setuptools>=45 which uses pip" % type(self).__name__
2424
)
2525

2626

0 commit comments

Comments
 (0)