Changeset 38837 for trunk/ippToPsps/jython/sqlUtility.py
- Timestamp:
- Oct 10, 2015, 12:40:44 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/jython/sqlUtility.py (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/jython/sqlUtility.py
r37246 r38837 12 12 self.fields = [] 13 13 self.values = [] 14 self.startString = st artString14 self.startString = str(startString) 15 15 return 16 16 17 17 def group(self,field,value): 18 self.fields.append(field) 19 self.values.append(value) 18 self.fields.append(str(field)) 19 self.values.append(str(value)) 20 print "* " + str(field) + " = " + str(value) 20 21 return 21 22 … … 30 31 output += ", " 31 32 32 output += " " + middleString+ " "33 output += " " + str(middleString) + " " 33 34 34 35 for i in range(len(self.values)): … … 37 38 output += ", " 38 39 39 output += " " + endString40 output += " " + str(endString) 40 41 41 42 return output … … 51 52 output += ", " 52 53 53 output += " " + middleString+ " "54 output += " " + str(middleString) + " " 54 55 55 56 for i in range(len(self.values)): … … 58 59 output += ", " 59 60 60 output += " " + endString61 output += " " + str(endString) 61 62 62 63 return output … … 72 73 output += ", " 73 74 74 output += " " + endString75 output += " " + str(endString) 75 76 76 77 return output
Note:
See TracChangeset
for help on using the changeset viewer.
