Show More
@@ -165,11 +165,7 b' def get_ipython_cmd(as_string=False):' | |||||
165 | as_string: bool |
|
165 | as_string: bool | |
166 | Flag to allow to return the command as a string. |
|
166 | Flag to allow to return the command as a string. | |
167 | """ |
|
167 | """ | |
168 | # FIXME: remove workaround for 2.6 support |
|
168 | ipython_cmd = [sys.executable, "-m", "IPython"] | |
169 | if sys.version_info[:2] > (2,6): |
|
|||
170 | ipython_cmd = [sys.executable, "-m", "IPython"] |
|
|||
171 | else: |
|
|||
172 | ipython_cmd = ["ipython"] |
|
|||
173 |
|
169 | |||
174 | if as_string: |
|
170 | if as_string: | |
175 | ipython_cmd = " ".join(ipython_cmd) |
|
171 | ipython_cmd = " ".join(ipython_cmd) |
General Comments 0
You need to be logged in to leave comments.
Login now