summaryrefslogtreecommitdiffstats
path: root/Node.py
diff options
context:
space:
mode:
Diffstat (limited to 'Node.py')
-rw-r--r--Node.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Node.py b/Node.py
index 4ac1ea8..2ad1846 100644
--- a/Node.py
+++ b/Node.py
@@ -73,7 +73,7 @@ def ant_matcher(s, ignorecase):
if k == '**':
accu.append(k)
else:
- k = k.replace('.', '[.]').replace('*','.*').replace('?', '.').replace('+', '\\+')
+ k = k.replace('.', '[.]').replace('*', '.*').replace('?', '.').replace('+', '\\+')
k = '^%s$' % k
try:
exp = re.compile(k, flags=reflags)
@@ -595,7 +595,6 @@ class Node(object):
:rtype: iterator
"""
dircont = self.listdir()
- dircont.sort()
try:
lst = set(self.children.keys())