Fix recompile_requirements.py without arguments
This commit is contained in:
parent
55da4ffc03
commit
f6473620c5
@ -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')]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user