Changeset 1472 for trunk/python


Ignore:
Timestamp:
01/15/09 12:16:08 (16 years ago)
Author:
Malte Marquarding
Message:

allow upgrade of ipython rc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/__init__.py

    r1471 r1472  
    3838    f = file(userdir+"/ipythonrc", "w")
    3939    f.close()
     40else:
     41    # upgrade to support later ipython versions
     42    if not os.path.exists(userdir+"/ipy_user_conf.py"):
     43        shutil.copyfile(asapdata+"/data/ipy_user_conf.py",
     44                        userdir+"/ipy_user_conf.py")
     45
    4046# remove from namespace
    4147del asapdata, userdir, shutil, platform
Note: See TracChangeset for help on using the changeset viewer.