Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
darijgr committed Apr 19, 2014
1 parent 94a1e8b commit 648da0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/misc/misc.py
Expand Up @@ -2319,7 +2319,7 @@ def get_main_globals():
depth = 0
while True:
G = sys._getframe(depth).f_globals
if G.get("__name__", None) == "__main__": # and G.get("__package__", None) is None:
if G.get("__name__", None) == "__main__":
break
depth += 1
return G
Expand Down

0 comments on commit 648da0d

Please sign in to comment.