diff simpypi/wsgi.py @ 36:a02d08627d9c

stub a test to upload a package
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 01 Mar 2012 09:28:55 -0800
parents 315b7b49eaf4
children 1bdece293671
line wrap: on
line diff
--- a/simpypi/wsgi.py	Thu Mar 01 09:23:29 2012 -0800
+++ b/simpypi/wsgi.py	Thu Mar 01 09:28:55 2012 -0800
@@ -49,6 +49,13 @@
         # get the package
         package = self.request.POST.get('package')
 
+        # sanity check:
+        # - does the field exist?
+        # - is it a file?
+        # TODO
+
+        # put the package in the right place
+
         # redirect to the main page
         return exc.HTTPSeeOther(add_slash=True)