Show More
@@ -6,7 +6,7 b' Requires Python 2.3 or newer.' | |||||
6 |
|
6 | |||
7 | This file contains all the classes and helper functions specific to IPython. |
|
7 | This file contains all the classes and helper functions specific to IPython. | |
8 |
|
8 | |||
9 |
$Id: iplib.py 291 |
|
9 | $Id: iplib.py 2916 2007-12-31 13:14:43Z vivainio $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -1124,7 +1124,7 b' IPython will create a minimal default configuration for you.' | |||||
1124 | else: |
|
1124 | else: | |
1125 | inif = 'ipythonrc' |
|
1125 | inif = 'ipythonrc' | |
1126 | minimal_setup = {'ipy_user_conf.py' : 'import ipy_defaults', inif : '# intentionally left blank' } |
|
1126 | minimal_setup = {'ipy_user_conf.py' : 'import ipy_defaults', inif : '# intentionally left blank' } | |
1127 | os.makedirs(ipythondir) |
|
1127 | os.makedirs(ipythondir, mode = 0777) | |
1128 | for f, cont in minimal_setup.items(): |
|
1128 | for f, cont in minimal_setup.items(): | |
1129 | open(ipythondir + '/' + f,'w').write(cont) |
|
1129 | open(ipythondir + '/' + f,'w').write(cont) | |
1130 |
|
1130 |
General Comments 0
You need to be logged in to leave comments.
Login now