'message': "This pull request is alredy resolved. Can't accept."
})
- src_doc = lib.document_for_rev( prq.source_revision )
+ src_doc = lib.document_for_revision( prq.source_revision )
lock = lib.lock()
try:
# 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({