Changeset 2814 for trunk/bin


Ignore:
Timestamp:
05/13/13 11:52:13 (12 years ago)
Author:
Malte Marquarding
Message:

Issue #292: revert tpo python without breaking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/asap

    r2651 r2814  
    22import os
    33
    4 def main10():
     4def _main10():
    55    from IPython.Shell import IPShellEmbed
    66
     
    1414
    1515
    16 def main11():
     16def _main11():
    1717    from IPython.config.loader import Config
    1818    cfg = Config()
     
    3939    vers = int(IPython.__version__.split(".")[1])
    4040    if vers >= 11:
    41         ipshell = main11()
     41        ipshell = _main11()
    4242    else:
    43         ipshell = main10()
     43        ipshell = _main10()
    4444    ipshell()
    4545
     
    4848    import code
    4949    from asap import *
    50     del main
    5150    code.interact(banner, local=locals())
Note: See TracChangeset for help on using the changeset viewer.