diff options
author | cypherpunks <cypherpunks@torproject.org> | 2016-12-19 08:00:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-11 09:16:20 -0500 |
commit | 99cbadf143f8455ff6217be71b5037b84dfa81a6 (patch) | |
tree | b0650f07bdd1a3d6bc7ab44abb5d678f25fb3f04 /scripts | |
parent | fa0792c3a8e2f233efcebc8a89431ab9a1c877a2 (diff) | |
download | tor-99cbadf143f8455ff6217be71b5037b84dfa81a6.tar.gz tor-99cbadf143f8455ff6217be71b5037b84dfa81a6.zip |
Warn on Tor versions with the 'tor-' prefix
Closes ticket 21096.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/lintChanges.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/lintChanges.py b/scripts/maint/lintChanges.py index 3694c4b3c4..bf06064fa8 100755 --- a/scripts/maint/lintChanges.py +++ b/scripts/maint/lintChanges.py @@ -75,6 +75,8 @@ def lintfile(fname): elif not re.search('[fF]ixes ([a-z ]*)bug (\d+); bugfix on ', contents): warn("bugfix incant is not semicoloned") + elif re.search('tor-([0-9]+)', contents): + warn("do not prefix versions with 'tor-'") if __name__ == '__main__': |