From 30da6af1f8550bbf8c52a21e5741661a15da8663 Mon Sep 17 00:00:00 2001 From: zuber Date: Thu, 22 Oct 2009 18:17:58 +0200 Subject: [PATCH 1/1] =?utf8?q?FIX:=20TypeError=20przy=20akceptacji=20Pull?= =?utf8?q?=20Request=C3=B3w.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- apps/api/handlers/manage_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({ -- 2.20.1