mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
CSV debug check inadvertently dropped
This commit is contained in:
@ -8982,6 +8982,9 @@ try:
|
|||||||
run_batch(items)
|
run_batch(items)
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
elif sys.argv[1].lower() == u'csv':
|
elif sys.argv[1].lower() == u'csv':
|
||||||
|
if httplib2.debuglevel > 0:
|
||||||
|
print u'Sorry, CSV commands are not compatible with debug. Delete debug.gam and try again.'
|
||||||
|
sys.exit(1)
|
||||||
csv_filename = sys.argv[2]
|
csv_filename = sys.argv[2]
|
||||||
f = openFile(csv_filename)
|
f = openFile(csv_filename)
|
||||||
input_file = csv.DictReader(f)
|
input_file = csv.DictReader(f)
|
||||||
|
Reference in New Issue
Block a user