Skip to content

Commit 596be48

Browse files
committed
remove the else in __main__ as it is never executed
1 parent b3eae63 commit 596be48

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

scorep/__main__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,3 @@ def main(argv=None):
125125

126126
if __name__ == '__main__':
127127
scorep_main()
128-
else:
129-
if ("SCOREP_PYTHON_BINDINGS_INITALISED" not in os.environ) or (
130-
os.environ["SCOREP_PYTHON_BINDINGS_INITALISED"] != "true"):
131-
logging.warning(
132-
"scorep needs to be loaded using \"python -m scorep <script>\". Please be aware that scorep might not work correctly!")

0 commit comments

Comments
 (0)