11 lines
164 B
Python
Executable file
11 lines
164 B
Python
Executable file
#!/usr/bin/python
|
|
import sys, db
|
|
|
|
try:
|
|
arg = sys.argv[1]
|
|
except:
|
|
arg = ''
|
|
|
|
db = db.db()
|
|
for record in db.select('* from tko_jobs ' + arg):
|
|
print record
|