From 7d448ebb39dfadc82cccbc115a69462209b3ecc0 Mon Sep 17 00:00:00 2001 From: Triatmoko Date: Tue, 15 Nov 2011 02:32:05 +0100 Subject: delete dummy comment --- Code/Server-Code/DbClass.py | 2 +- Code/Server-Code/SSHTunnelBoxClass.py | 1 - Code/Server-Code/gsmselftest.py | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'Code') diff --git a/Code/Server-Code/DbClass.py b/Code/Server-Code/DbClass.py index fb6b253..a53987f 100755 --- a/Code/Server-Code/DbClass.py +++ b/Code/Server-Code/DbClass.py @@ -186,7 +186,7 @@ class DBMySQLConnection: if self.connectionCreated == 1: try: successful = self.cur.execute("INSERT INTO PingResultTable(taskNo, sipServer, sipGate, unisip, gsmBox1, gsmBox2) VALUES ('%i', '%i','%i', '%i','%i','%i')"%( int(taskNo),int(sipServer), int(sipGate), int(unisip), int(gsmBox1), int(gsmBox2))) - #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: diff --git a/Code/Server-Code/SSHTunnelBoxClass.py b/Code/Server-Code/SSHTunnelBoxClass.py index 49f6251..1b76d0b 100755 --- a/Code/Server-Code/SSHTunnelBoxClass.py +++ b/Code/Server-Code/SSHTunnelBoxClass.py @@ -23,7 +23,6 @@ class SSHTunneling: try: self.__sshTunnel = subprocess.Popen(['ssh','-p','7884','-N', '-L', command, uad], stdin=subprocess.PIPE, stdout=subprocess.PIPE) - #self.__sshTunnel = subprocess.Popen(['ssh','-N', '-L', command, uad], stdin=subprocess.PIPE, stdout=subprocess.PIPE) sleep(2) self.__tunnelStarted = 1 return 1 diff --git a/Code/Server-Code/gsmselftest.py b/Code/Server-Code/gsmselftest.py index f6be5a2..61d4246 100755 --- a/Code/Server-Code/gsmselftest.py +++ b/Code/Server-Code/gsmselftest.py @@ -338,8 +338,6 @@ def doSmartTest(status): def doSipTest(): - - #destList = ['gsmr1','gsmr2', 'gsmr3', 'landline', 'unisip', 'GSMExt.O2', 'GSMExt.Voda', 'GSMExt.Eplus', 'GSMExt.Tm' ] destList = ['landline', 'unisip'] doTest = initTestClass.initTesting() for callTo in destList: -- cgit v1.2.3-55-g7522