Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
batch naming
  • Loading branch information
Kristina Chodorow committed May 25, 2010
1 parent fcd4361 commit 932a5bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion handlers.py
Expand Up @@ -415,7 +415,6 @@ def _batch(self, args, out, name = None, db = None, collection = None):
method = "GET"
if 'method' in request:
method = request['method']
print "method? "+method

db = None
if 'db' in request:
Expand All @@ -426,8 +425,11 @@ def _batch(self, args, out, name = None, db = None, collection = None):
collection = request['collection']

args = {}
name = None
if 'args' in request:
args = request['args']
if 'name' in args:
name = args['name']

if method == "POST":
args = MongoFakeFieldStorage(args)
Expand Down

0 comments on commit 932a5bd

Please sign in to comment.