Changeset 831
- Timestamp:
- 03/23/07 08:38:54
- Files:
-
- qPloneGoogleSitemaps/trunk/utils.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
qPloneGoogleSitemaps/trunk/utils.py
r830 r831 22 22 def applyOperations(objects, operations): 23 23 """Parse Operations """ 24 parse = re.compile(r '([a-zA-Z])/(.*?[^\\])/(.*?[^\\]?)/')24 parse = re.compile(r"(.?[^\\])/(.*[^\\]|)/(.*[^\\]|)/") 25 25 operations=[parse.match(op).groups() for op in operations] 26 26 result={} … … 28 28 url = ob.getURL() 29 29 for operator, what, with in operations: 30 url = OPERATORS[operator](url, what, with )30 url = OPERATORS[operator](url, what, with.replace("\\", "")) 31 31 #TODO: Remove or replace following condition 32 32 #it is senseless in the case we need intelligent
