Changeset 2839
- Timestamp:
- 11/29/07 15:54:35 (1 year ago)
- Files:
-
- clientsplugin/0.11/cron/send-client-email (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
clientsplugin/0.11/cron/send-client-email
r2756 r2839 155 155 156 156 157 class SendClientFakeReq: 158 def __init__(self): 159 class SendClientFakeHref: 160 def __call__(self, *args, **keywords): 161 return '' 162 def wiki(self, *args, **keywords): 163 return '' 164 self.href = SendClientFakeHref() 165 166 def perm(self, *args, **keywords): 167 return [] 168 169 return SendClientFakeWiki() 170 157 171 class SendClientEmails: 158 172 … … 165 179 locale.setlocale(locale.LC_ALL, '') 166 180 self.env = open_environment(options.envpath) 167 self.req = None181 self.req = SendClientFakeReq() 168 182 from clients.processor import extract_client_text 169 183
