Changeset 2
- Timestamp:
- 02/12/07 11:42:15 (5 years ago)
- Files:
-
- 1 modified
-
trunk/ovpyq.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ovpyq.py
r1 r2 191 191 if DEBUG: 192 192 print "insert into dpri values('%s','%s',%s,%s,%s,%s,%s)"%tuple([ticker]+[mx.DateTime.strptime(t[0],"%Y-%m-%d").strftime("%Y%m%d")]+t[1:6]) 193 print "'%s'"%tuple([mx.DateTime.strptime(t[0],"%Y-%m-%d").strftime("%Y%m%d")]) 193 194 c1.execute("insert into dpri values('%s','%s',%s,%s,%s,%s,%s)"%tuple([ticker]+[mx.DateTime.strptime(t[0],"%Y-%m-%d").strftime("%Y%m%d")]+t[1:6])) 194 195 updates = updates +1
