Fixing RE
This commit is contained in:
parent
0fa33d5401
commit
669c8fc0a2
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ class LookupEmailTryBuild (object):
|
|||
# List of [ dir, sorted_reverse ]
|
||||
tryjobdir = [ [ os.path.expanduser ("~/gdb/try_ssh_jobdir/new/"), False ],
|
||||
[ os.path.expanduser ("~/gdb/try_ssh_jobdir/cur/"), True ] ]
|
||||
name_re = re.compile ("(%s <.*@.*>),.*" % name, flags = re.UNICODE)
|
||||
name_re = re.compile (".*(%s <.*@.*>),.*" % name, flags = re.UNICODE)
|
||||
for directory, sort_order in tryjobdir:
|
||||
for _, _, filenames in os.walk (directory):
|
||||
for f in sorted (filenames, reverse = sort_order):
|
||||
|
|
Loading…
Reference in a new issue