summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/19-08-2011/DbClass.py
diff options
context:
space:
mode:
authortt412011-08-27 09:35:31 +0200
committertt412011-08-27 09:35:31 +0200
commit216f8ca4d43d275556855d3a4e094fb4808e8fad (patch)
treee18b959de35587d7bb048bdb9ea13797b05b5fbe /For Weekly Test/19-08-2011/DbClass.py
parentmodifed variable update ping table for universiti telphone network. (diff)
downloadgsm-selftest-216f8ca4d43d275556855d3a4e094fb4808e8fad.tar.gz
gsm-selftest-216f8ca4d43d275556855d3a4e094fb4808e8fad.tar.xz
gsm-selftest-216f8ca4d43d275556855d3a4e094fb4808e8fad.zip
edit variable for unisip on update ping result table
Diffstat (limited to 'For Weekly Test/19-08-2011/DbClass.py')
-rw-r--r--For Weekly Test/19-08-2011/DbClass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/For Weekly Test/19-08-2011/DbClass.py b/For Weekly Test/19-08-2011/DbClass.py
index f0ce624..4f2d692 100644
--- a/For Weekly Test/19-08-2011/DbClass.py
+++ b/For Weekly Test/19-08-2011/DbClass.py
@@ -157,7 +157,7 @@ class DBMySQLConnection:
def updatePingResult(self, taskNo, sipServer, sipGate, unisip, gsmBox1, gsmBox2):
if self.connectionCreated == 1:
try:
- successful = self.cur.execute("UPDATE PingResultTable SET sipServer=%i, sipGate=%i, sipLoc=%i, gsmBox1=%i, gsmBox2=%i WHERE taskNo=%i"%(int(sipServer), int(sipGate), int(unisip), int(gsmBox1), int(gsmBox2), int(taskNo)))
+ successful = self.cur.execute("UPDATE PingResultTable SET sipServer=%i, sipGate=%i, unisip=%i, gsmBox1=%i, gsmBox2=%i WHERE taskNo=%i"%(int(sipServer), int(sipGate), int(unisip), int(gsmBox1), int(gsmBox2), int(taskNo)))
output = self.cur.fetchone()
if debugMode == 1: