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 181 |
|
9 | $Id: iplib.py 1821 2006-10-12 21:14:44Z vivainio $ | |
10 | """ |
|
10 | """ | |
11 |
|
11 | |||
12 | #***************************************************************************** |
|
12 | #***************************************************************************** | |
@@ -1602,9 +1602,17 b' want to merge them back into the new files.""" % locals()' | |||||
1602 | pre,fn,rest = self.split_user_input(line) |
|
1602 | pre,fn,rest = self.split_user_input(line) | |
1603 | if fn in self.alias_table: |
|
1603 | if fn in self.alias_table: | |
1604 | l2 = self.transform_alias(fn,rest) |
|
1604 | l2 = self.transform_alias(fn,rest) | |
|
1605 | # dir -> dir | |||
1605 | if l2 == line: |
|
1606 | if l2 == line: | |
1606 | break |
|
1607 | break | |
1607 | line = l2 |
|
1608 | # ls -> ls -F should not recurse forever | |
|
1609 | if l2.split(None,1)[0] == line.split(None,1)[0]: | |||
|
1610 | line = l2 | |||
|
1611 | break | |||
|
1612 | ||||
|
1613 | line=l2 | |||
|
1614 | ||||
|
1615 | ||||
1608 | # print "al expand to",line #dbg |
|
1616 | # print "al expand to",line #dbg | |
1609 | else: |
|
1617 | else: | |
1610 | break |
|
1618 | break |
General Comments 0
You need to be logged in to leave comments.
Login now