Revision 303
check for error in qry1
tooltron.py | ||
---|---|---|
190 | 190 |
|
191 | 191 |
result = cursor.fetchall() |
192 | 192 |
|
193 |
if len(result) == 0: |
|
194 |
print "ERROR: result is empty!" |
|
195 |
logMessage("user has no ACLS or server is down...") |
|
196 |
continue |
|
197 |
|
|
193 | 198 |
acl = [] |
194 | 199 |
|
195 | 200 |
for r in result: |
Also available in: Unified diff