##// END OF EJS Templates
Fix quoting of aliases in transform_alias
vivainio -
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 1227 2006-03-28 13:20:14Z vivainio $
9 $Id: iplib.py 1232 2006-04-01 10:59:41Z vivainio $
10 """
10 """
11
11
12 #*****************************************************************************
12 #*****************************************************************************
@@ -1532,7 +1532,7 b' want to merge them back into the new files.""" % locals()'
1532
1532
1533 """
1533 """
1534 nargs,cmd = self.alias_table[alias]
1534 nargs,cmd = self.alias_table[alias]
1535 if ' ' in cmd:
1535 if ' ' in cmd and os.path.isfile(cmd):
1536 cmd = '"%s"' % cmd
1536 cmd = '"%s"' % cmd
1537
1537
1538 # Expand the %l special to be the user's input line
1538 # Expand the %l special to be the user's input line
@@ -1,5 +1,10 b''
1 2006-03-28 Ville Vainio <vivainio@gmail.com>
1 2006-03-28 Ville Vainio <vivainio@gmail.com>
2
2
3 * iplib.py: Fix quoting of aliases so that only argless ones
4 are quoted
5
6 2006-03-28 Ville Vainio <vivainio@gmail.com>
7
3 * iplib.py: Quote aliases with spaces in the name.
8 * iplib.py: Quote aliases with spaces in the name.
4 "c:\program files\blah\bin" is now legal alias target.
9 "c:\program files\blah\bin" is now legal alias target.
5
10
General Comments 0
You need to be logged in to leave comments. Login now