summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/30-07-2011/DbClass.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/30-07-2011/DbClass.py')
-rw-r--r--For Weekly Test/30-07-2011/DbClass.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/For Weekly Test/30-07-2011/DbClass.py b/For Weekly Test/30-07-2011/DbClass.py
index 442e777..ae220a9 100644
--- a/For Weekly Test/30-07-2011/DbClass.py
+++ b/For Weekly Test/30-07-2011/DbClass.py
@@ -106,24 +106,11 @@ class DBMySQLConnection:
if self.connectionCreated == 1:
try:
successful = self.cur.execute("SELECT `deviceIP`,`number` FROM DeviceAddressTable where `deviceName`=%s", deviceName)
- #self.cur.execute()
output = self.cur.fetchall() #get the mysql response
#parse the output from the mysql by creating a list
#with lists where each attribue(column) gets independent
#element of the list
-
-
-# for record in output:
-# columns = list()
-# for entry in record:
-# columns.append(str(entry))
-# columns.append(str(0))
-# self.tasksList.append(columns)
-
-
-
-
deviceAddr = ''
for record in output:
columns = list()