From: zuber Date: Thu, 22 Oct 2009 16:17:58 +0000 (+0200) Subject: FIX: TypeError przy akceptacji Pull Requestów. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/30da6af1f8550bbf8c52a21e5741661a15da8663?ds=sidebyside;hp=-c FIX: TypeError przy akceptacji Pull Requestów. --- 30da6af1f8550bbf8c52a21e5741661a15da8663 diff --git a/apps/api/handlers/manage_handlers.py b/apps/api/handlers/manage_handlers.py index b94ca729..f9caf7ba 100644 --- a/apps/api/handlers/manage_handlers.py +++ b/apps/api/handlers/manage_handlers.py @@ -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({