Fix recompile_requirements.py without arguments

This commit is contained in:
Florian Bruhin 2016-06-07 23:44:50 +02:00
parent 55da4ffc03
commit f6473620c5

View File

@ -86,7 +86,7 @@ def read_comments(fobj):
def get_all_names():
for filename in glob.glob(os.path.join(REQ_DIR, 'requirements-*-raw.txt')):
for filename in glob.glob(os.path.join(REQ_DIR, 'requirements-*.txt-raw')):
basename = os.path.basename(filename)
yield basename[len('requirements-'):-len('.txt-raw')]