Mercurial > hg > simpypi
comparison simpypi/wsgi.py @ 37:1bdece293671
* fix calling signature in test
* no need for a self here
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 01 Mar 2012 09:30:41 -0800 |
parents | a02d08627d9c |
children | ee29001674af |
comparison
equal
deleted
inserted
replaced
36:a02d08627d9c | 37:1bdece293671 |
---|---|
45 | 45 |
46 def POST(self, request): | 46 def POST(self, request): |
47 """handle posting a package""" | 47 """handle posting a package""" |
48 | 48 |
49 # get the package | 49 # get the package |
50 package = self.request.POST.get('package') | 50 package = request.POST.get('package') |
51 | 51 |
52 # sanity check: | 52 # sanity check: |
53 # - does the field exist? | 53 # - does the field exist? |
54 # - is it a file? | 54 # - is it a file? |
55 # TODO | 55 # TODO |