Changeset 4046
- Timestamp:
- 07/21/08 08:38:25 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
announcerplugin/0.11/announcerplugin/subscribers/wiki.py
r3130 r4046 37 37 for sid, authenticated, value in cursor.fetchall(): 38 38 for raw in value.split(' '): 39 pat = urllib.unquote(raw) 39 pat = urllib.unquote(raw).replace('*', '.*') 40 40 if re.match(pat, name): 41 41 self.log.debug( … … 58 58 59 59 sess['announcer_wiki_interests'] = ' '.join( 60 urllib.quote( 61 x.replace('*', '.*?') 62 ) for x in options 60 urllib.quote(x) for x in options 63 61 ) 64 62 … … 70 68 return "prefs_announcer_wiki.html", dict( 71 69 wiki_interests = '\n'.join( 72 urllib.unquote( 73 x.replace('.*?', '*') 74 ) for x in interests.split(' ') 70 urllib.unquote(x) for x in interests.split(' ') 75 71 ) 76 72 )
