Ignore:
Timestamp:
11/17/08 12:26:10 (5 years ago)
Author:
cbalan
Message:

Announcer: - Added i18n support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/trac-hacks/announcerplugin/announcerplugin/subscribers/watchers.py

    r450 r732  
    7777               AND category=%s 
    7878               AND rule=%s 
    79         """, (sid, int(authenticated), 'watcher', realm, '*', str(resource))) 
     79        """, (sid, int(authenticated), 'watcher', realm, '*', resource)) 
    8080         
    8181        result = cursor.fetchone() 
     
    127127               AND category=%s 
    128128               AND rule=%s 
    129         """, (sid, int(authenticated), 'watcher', realm, '*', str(resource))) 
     129        """, (sid, int(authenticated), 'watcher', realm, '*', resource)) 
    130130         
    131131        if not use_db: 
     
    198198               AND realm=%s 
    199199               AND rule=%s 
    200         """, ('watcher', 'wiki', str(page.name))) 
     200        """, ('watcher', 'wiki', page.name)) 
    201201 
    202202        db.commit() 
Note: See TracChangeset for help on using the changeset viewer.