Skip to content

Commit

Permalink
commented new function
Browse files Browse the repository at this point in the history
  • Loading branch information
the-hof committed Mar 18, 2014
1 parent d27de8c commit 1f411dd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rpm/rpm.py
Expand Up @@ -22,6 +22,10 @@
#redis connection
rP = redis.StrictRedis(host = cfg.g('redis','host'), port = cfg.g('redis','port'), db = 0)


##################################
## helper functions
##################################
def WrapCallbackString(result_data):
callback_string = request.args.get('callback')
if callback_string:
Expand All @@ -32,6 +36,7 @@ def WrapCallbackString(result_data):

return results


##################################
## REDIS INTERACTION
##################################
Expand Down

0 comments on commit 1f411dd

Please sign in to comment.