]> granicus.if.org Git - python/commit
[2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 12 Mar 2017 09:34:16 +0000 (19:34 +1000)
committerGitHub <noreply@github.com>
Sun, 12 Mar 2017 09:34:16 +0000 (19:34 +1000)
commitc8869af89e9b62fbfd066c01da1f502b0fd2ed3f
treeeeaf9f900ade97e8e629b4e5335ee40dca99bbcf
parent309fb90f6895c47e7b41df3d739db45e8ec136c9
[2.7] bpo-29656: Handle PR branches in 'make patchcheck' (#302) (#628)

Additional changes needed to backport:

- dropped legacy SVN support from patchcheck
- use subprocess.PIPE to silence expected error output
- don't try to use subprocess.Popen as a context manager
- don't try to pass a keyword argument to str.split()

(cherry picked from commit 482f7a274fa52b7ba34ff308cd9acdcac9f41ba5)
Tools/scripts/patchcheck.py