Description:
remove lingering debug info
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r786:4e030454953c - - 3 files changed: 0 inserted, 6 deleted
@@ -154,7 +154,6 | |||
|
154 | 154 | user_ip = IPAddr.new(request.remote_ip) |
|
155 | 155 | |
|
156 | 156 | GraderConfiguration[WHITELIST_IP_CONF_KEY].delete(' ').split(',').each do |ips| |
|
157 | - puts "ip is #{ips}, user ip is #{user_ip}" | |
|
158 | 157 | allow_ips = IPAddr.new(ips) |
|
159 | 158 | if allow_ips.include?(user_ip) |
|
160 | 159 | return true |
@@ -75,9 +75,6 | |||
|
75 | 75 | def get_latest_submission_status |
|
76 | 76 | @problem = Problem.find(params[:pid]) |
|
77 | 77 | @submission = Submission.find_last_by_user_and_problem(params[:uid],params[:pid]) |
|
78 | - puts User.find(params[:uid]).login | |
|
79 | - puts Problem.find(params[:pid]).name | |
|
80 | - puts 'nil' unless @submission | |
|
81 | 78 | respond_to do |format| |
|
82 | 79 | format.js |
|
83 | 80 | end |
You need to be logged in to leave comments.
Login now