Changes between Version 1 and Version 2 of Ticket #927


Ignore:
Timestamp:
Jul 28, 2014, 8:45:49 PM (10 years ago)
Author:
Elrond
Comment:

Fix Cut'n'paste issue. Add placement comment.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #927 – Description

    v1 v2  
    2020- Should remove garbage_collection setting to spec file and remove it from mediagoblin.ini as it won't be commonly set.
    2121
    22 '''json_ereturn json_response({"error": error}, status=403)rror'''
    23 On the idea of:
    24 {{{
    25 def json_error(error_str, status=400):
    26     return json_response({"error": error_str}, status=status)
    27 }}}
     22'''json_error'''
     23* On the idea of:
     24  {{{
     25  def json_error(error_str, status=400):
     26      return json_response({"error": error_str}, status=status)
     27  }}}
     28* I am not sure, where to put this, either in the general response place, where json_response is also, or maybe only where it's being used in the federation code. If I have to vote, I'd likely vote for the former.
    2829
    2930If any more issues are found please add them to this ticket. This is a rather large issue but most of the tasks in them are so small it doesn't warrant splitting them up.