b=391358 - standardize on patchlist_file

This commit is contained in:
ccooper@deadsquid.com 2008-01-04 09:55:17 -08:00
Родитель 1f1340510a
Коммит 0af876b796
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -362,16 +362,16 @@ def main(argv):
usage()
sys.exit()
elif opt in ("-f", "--patchlist_file"):
patchlist_filename = arg
patchlist_file = arg
except getopt.GetoptError:
usage()
sys.exit(2)
if not patchlist_filename:
if not patchlist_file:
usage()
sys.exit(2)
create_partial_patches(patchlist_filename)
create_partial_patches(patchlist_file)
if __name__ == "__main__":
main(sys.argv[1:])