[tor-bugs] #29553 [Core Tor/Tor]: pre-commit hook gives a warning when there are no changes files,
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Feb 21 18:32:19 UTC 2019
#29553: pre-commit hook gives a warning when there are no changes files,
------------------------------+--------------------------------
Reporter: nickm | Owner: nickm
Type: defect | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.1.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: .1 | Reviewer:
Sponsor: |
------------------------------+--------------------------------
Problem 1:
{{{
Traceback (most recent call last):
File "scripts/maint/lintChanges.py", line 111, in <module>
if lintfile(fname):
File "scripts/maint/lintChanges.py", line 53, in lintfile
with open(fname) as f:
IOError: [Errno 2] No such file or directory: './changes/*'
On branch release-0.3.5
Your branch is up to date with 'origin/release-0.3.5'.
}}}
Problem 2: The script lets me commit anyway.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29553>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list