fix commit-batch on batch commands

This commit is contained in:
Jay Lee
2014-11-19 11:14:30 -05:00
parent 447a807f69
commit eaf99c682f

2
gam.py
View File

@ -7316,7 +7316,7 @@ try:
argv = shlex.split(line) argv = shlex.split(line)
if argv[0] in [u'#', u' ', u''] or len(argv) < 2: if argv[0] in [u'#', u' ', u''] or len(argv) < 2:
continue continue
elif argv.pop(0).lower() != u'gam': elif argv.pop(0).lower() not in [u'gam', u'commit-batch']:
print u'Error: "%s" is not a valid gam command' % line print u'Error: "%s" is not a valid gam command' % line
continue continue
items.append(python_cmd+argv) items.append(python_cmd+argv)