Minor Python config bug fix.

python/m5/config.py:
    Add 'panic' to __all__ (some of Nate's scripts use it).

--HG--
extra : convert_revision : ae3e2398dffe3edd17ee0155f38bc757d3552df2
This commit is contained in:
Steve Reinhardt 2005-03-13 01:21:23 -05:00
parent d94f5bfb04
commit 82964b2705

View file

@ -1347,7 +1347,7 @@ class SimObject(ConfigNode, ParamType):
# __all__ defines the list of symbols that get exported when # __all__ defines the list of symbols that get exported when
# 'from config import *' is invoked. Try to keep this reasonably # 'from config import *' is invoked. Try to keep this reasonably
# short to avoid polluting other namespaces. # short to avoid polluting other namespaces.
__all__ = ['env', 'issequence', __all__ = ['env', 'issequence', 'panic',
'ConfigNode', 'SimObject', 'ParamContext', 'Param', 'VectorParam', 'ConfigNode', 'SimObject', 'ParamContext', 'Param', 'VectorParam',
'Super', 'Enum', 'Super', 'Enum',
'Int', 'Unsigned', 'Int8', 'UInt8', 'Int16', 'UInt16', 'Int', 'Unsigned', 'Int8', 'UInt8', 'Int16', 'UInt16',