Skip to content

Commit 8d8a6ed

Browse files
author
Ram Rachum
committed
-
1 parent b92273d commit 8d8a6ed

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

garlicsim_wx/garlicsim_wx/misc/icon_bundle/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
'''Defines an icon bundle for GarlicSim.'''
55

6-
76
import pkg_resources
87

98
import wx

garlicsim_wx/garlicsim_wx/widgets/workspace_widgets/shell.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ def __init__(self, frame):
6666
# We used to import `site` here to get `help` and others when frozen,
6767
# but now `garlicsim` has `bootstrap_py2exe` which bundles its own
6868
# version of `site` which creates `help` and a few other builtins.
69+
import __builtin__
70+
assert 'help' in __builtin__.__dict__
71+
del __builtin__
6972

7073

7174
def setLocalShell(self):

0 commit comments

Comments
 (0)