Changeset 2756
- Timestamp:
- 11/07/07 16:30:38 (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
r2729 r2756 204 204 # Don't clobber clients with historical updates 205 205 if not lastupdate: 206 lastupdate = now 206 # Update the date field and forget about this run. 207 sql = ("UPDATE client SET %s_lastupdate" % field) + \ 208 "=%s WHERE name=%s" 209 cursor2 = db.cursor() 210 cursor2.execute(sql, (now, name)) 211 continue 207 212 208 213 emails = [] … … 323 328 xml.write('</changes>') 324 329 330 xml.write('</clientsplugin>') 331 332 #if options.debug: 333 # print xml.getvalue() 334 325 335 if not have_data: 326 336 continue 327 xml.write('</clientsplugin>')328 337 329 338 doc = libxml2.parseDoc(xml.getvalue())
