aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-06-03 20:25:12 +0100
committerMike McQuaid2017-06-03 20:25:12 +0100
commit3a08f814703ad936b25a8f4a91424aea2bc4668b (patch)
tree98545ac98744f2a893c22a2d351d3c6e8c240e19 /Library/Homebrew/dev-cmd
parentdd51a0f377155ad6a46d99a3f28ae3e790e6231e (diff)
downloadbrew-3a08f814703ad936b25a8f4a91424aea2bc4668b.tar.bz2
audit: fix pypi strict audit capture group.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index ccc8cd7c3..aaac9c96b 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -1501,7 +1501,7 @@ class ResourceAuditor
if @strict
urls.each do |p|
next unless p =~ %r{^https?://pypi.python.org/(.*)}
- problem "#{p} should be `https://files.pythonhosted.org/#{$2}`"
+ problem "#{p} should be `https://files.pythonhosted.org/#{$1}`"
end
end