FIX: TypeError przy akceptacji Pull Requestów.
authorzuber <marek@stepniowski.com>
Thu, 22 Oct 2009 16:17:58 +0000 (18:17 +0200)
committerzuber <marek@stepniowski.com>
Thu, 22 Oct 2009 16:17:58 +0000 (18:17 +0200)
apps/api/handlers/manage_handlers.py

index b94ca72..f9caf7b 100644 (file)
@@ -110,7 +110,7 @@ class PullRequestHandler(BaseHandler):
             # sync state with repository
             prq.status = 'A'
             prq.merged_revision = str(src_doc.shared().revision)
-            prq.merged_timestamp = datetime.now()
+            prq.merged_timestamp = datetime.datetime.now()
             prq.save()
 
             return SuccessAllOk().django_response({