Skip to content

Commit

Permalink
Don't export main and DemoMBean when not running as a script
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasT committed Dec 12, 2009
1 parent 13d2157 commit 81f7982
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jythonmx.py
Expand Up @@ -568,3 +568,7 @@ def main():
if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
main()
else:
# No need to expose these
del main
del DemoMBean

0 comments on commit 81f7982

Please sign in to comment.