- Timestamp:
- Jul 31, 2014, 10:59:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140717/ippToPsps/jython/testCode.py
r37129 r37156 18 18 super(testCode, self).__init__(argv) 19 19 20 '''21 Main processing loop.22 Tiled area is defined in 'skychunk' and looks for available stage_ids for each tile and writes them to ippToPsps database ready for processing23 by one or more loading clients that may be running on any host24 '''25 20 def run(self): 26 sqlLine = sqlUtility("INSERT INTO Table (")27 21 28 sqlLine.group("field1", "value1") 29 sqlLine.group("field2", "value2") 30 sqlLine.group("field3", "value3") 22 names = {} 31 23 32 sql = sqlLine.make(") VALUES (", ")") 24 filters =['g','r','i'] 25 for f in filters: 33 26 34 print "sql: " + sql 27 names[f] = f + ".00000" 28 print "filter: " + f + " = " + names[f] 35 29 36 30 '''
Note:
See TracChangeset
for help on using the changeset viewer.
