You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/03/22 00:03:44 UTC
[whimsy.git] [1/1] Commit 476b47d: Unused, but the RE should match the one for .txt files
Commit 476b47dd39e8aa4d67acb94176b875920b68de3b:
Unused, but the RE should match the one for .txt files
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>
------------------------------------------------------------
www/members/proxy.cgi | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------
diff --git a/www/members/proxy.cgi b/www/members/proxy.cgi
index 29644d3..def0edf 100755
--- a/www/members/proxy.cgi
+++ b/www/members/proxy.cgi
@@ -154,10 +154,10 @@ _html do
" #{proxy.ljust(24)} #{name} (#{id})"
end
- # gather a list of all non-text proxies
+ # gather a list of all non-text proxies (TODO unused)
nontext = Dir['proxies-received/*'].
reject {|file| file.end_with? '.txt'}.
- map {|file| file[/([A-Za-z0-9]+)\.\w+$/, 1]}
+ map {|file| file[/([-A-Za-z0-9]+)\.\w+$/, 1]}
# update proxies file
proxies = IO.read('proxies')