1 |
Author: fuzzyray |
2 |
Date: 2008-09-03 20:17:45 +0000 (Wed, 03 Sep 2008) |
3 |
New Revision: 513 |
4 |
|
5 |
Modified: |
6 |
trunk/src/equery/equery |
7 |
Log: |
8 |
Remove debug print statement in equery belongs command (Bug #236483) |
9 |
|
10 |
Modified: trunk/src/equery/equery |
11 |
=================================================================== |
12 |
--- trunk/src/equery/equery 2008-09-03 20:13:55 UTC (rev 512) |
13 |
+++ trunk/src/equery/equery 2008-09-03 20:17:45 UTC (rev 513) |
14 |
@@ -375,7 +375,6 @@ |
15 |
query[i] = query[i].rstrip('/') |
16 |
q = map(lambda x: ((len(x) and x[0] == "/") and "^" or "/") |
17 |
+ re.escape(x) + "$", query) |
18 |
- print q |
19 |
try: |
20 |
q = "|".join(q) |
21 |
rx = re.compile(q) |