diff options
author | Florian Bruhin <me@the-compiler.org> | 2020-10-15 13:09:53 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2020-10-15 13:09:53 +0200 |
commit | 549eda8aa76d96165bf7ca12efce4c07e5fd49dc (patch) | |
tree | cddbed7d89324cbba58250cda6fe24ee364100dc | |
parent | a4d1b883481224571b0c348b301c241b97643ed3 (diff) | |
download | qutebrowser-549eda8aa76d96165bf7ca12efce4c07e5fd49dc.tar.gz qutebrowser-549eda8aa76d96165bf7ca12efce4c07e5fd49dc.zip |
scripts: Handle commented out requirements in diff
-rw-r--r-- | scripts/dev/recompile_requirements.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/dev/recompile_requirements.py b/scripts/dev/recompile_requirements.py index fd2af8274..2c7d17c3a 100644 --- a/scripts/dev/recompile_requirements.py +++ b/scripts/dev/recompile_requirements.py @@ -342,6 +342,9 @@ def print_changed_files(): name = line[1:] version = '?' + if name.startswith('#'): # duplicate requirements + name = name[1:].strip() + if name not in changes_dict: changes_dict[name] = Change(name) |