Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created November 7, 2011 17:44

Revisions

  1. terrycojones created this gist Nov 7, 2011.
    7 changes: 7 additions & 0 deletions gistfile1.py
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    # FIXME This is a **terrible** hack. This logic should really be
    # in the model. It's very difficult to put it there because we
    # can only perform index updates here, in the API layer, because
    # of the way we mix sync/async code. You should be shaking your
    # head in disgust the entire time you read this code and be
    # thinking, "What kind of fucking muppet would even think this is
    # a good idea?! ZOMG!!"