Show More
@@ -2396,6 +2396,9 b' Currently the magic system has the following functions:\\n"""' | |||||
2396 | print 'Editing...', |
|
2396 | print 'Editing...', | |
2397 | sys.stdout.flush() |
|
2397 | sys.stdout.flush() | |
2398 | try: |
|
2398 | try: | |
|
2399 | # Quote filenames that may have spaces in them | |||
|
2400 | if ' ' in filename: | |||
|
2401 | filename = "%s" % filename | |||
2399 | self.shell.hooks.editor(filename,lineno) |
|
2402 | self.shell.hooks.editor(filename,lineno) | |
2400 | except TryNext: |
|
2403 | except TryNext: | |
2401 | warn('Could not open editor') |
|
2404 | warn('Could not open editor') |
General Comments 0
You need to be logged in to leave comments.
Login now