X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Freputationview.py;h=40f85066cc5dc2ebe481dcb7a1101e3757317470;hb=b39e43484b54f1ebcb689f343b09a2bde17d78ce;hp=520253d6304cc9ff4914ec7735f3a36d3b51ed4c;hpb=5321146ed9bc267ef66bc3605446763ede2df95f;p=unfold.git diff --git a/portal/reputationview.py b/portal/reputationview.py index 520253d6..40f85066 100644 --- a/portal/reputationview.py +++ b/portal/reputationview.py @@ -119,12 +119,6 @@ class ReputationView (LoginRequiredAutoLogoutView, ThemeView): def post (self,request): env = self.default_env() env['theme'] = self.theme - - - - with open('/home/coyiotis/testlog.log') as f: - f.write(str('test')) - return render_to_response(self.template, env, context_instance=RequestContext(request)) @@ -135,12 +129,6 @@ class ReputationView (LoginRequiredAutoLogoutView, ThemeView): env = self.default_env() ##### *** Reputation Plugin-specific START *** ############ - with open('/home/coyiotis/testlog.log', 'w') as f: - f.write(str(request.GET)) - for key in request.GET: - f.write('\n') - f.write(str(request.GET[key])) - #The following 'if' is a dirty way for bypassing the JS AJAX cross-domain prevention policy...not pretty if request.GET.has_key(u'slicedata[user_eval][overall]'): dict_to_send = {}