Show More
@@ -266,7 +266,7 b" def globre(pat, head='^', tail='$'):" | |||
|
266 | 266 | res += re.escape(c) |
|
267 | 267 | return head + res + tail |
|
268 | 268 | |
|
269 | _globchars = {'[': 1, '{': 1, '*': 1, '?': 1} | |
|
269 | _globchars = set('[{*?') | |
|
270 | 270 | |
|
271 | 271 | def pathto(root, n1, n2): |
|
272 | 272 | '''return the relative path from one place to another. |
General Comments 0
You need to be logged in to leave comments.
Login now