unpatch django's postgresql backend (#89708)
gitea/publik-devinst/pipeline/head Something is wrong with the build of this commit
Details
gitea/publik-devinst/pipeline/head Something is wrong with the build of this commit
Details
This commit is contained in:
parent
af318c31ea
commit
fef70e2966
|
@ -1,7 +0,0 @@
|
|||
from django.utils.timezone import utc
|
||||
|
||||
|
||||
def utc_tzinfo_factory(offset):
|
||||
if offset:
|
||||
raise AssertionError("database connection isn't set to UTC")
|
||||
return utc
|
|
@ -70,11 +70,6 @@
|
|||
set_fact:
|
||||
venv_py3_site_packages: "{{ venv_py3_site_packages_cmd.stdout }}"
|
||||
|
||||
- name: copy patched django/db/backends/postgresql/utils.py
|
||||
copy:
|
||||
src: utils.py
|
||||
dest: "{{venv_py3_site_packages}}/django/db/backends/postgresql/utils.py"
|
||||
|
||||
- name: patch django/core/mail/message.py
|
||||
shell: "patch -p1 {{venv_py3_site_packages}}/django/core/mail/message.py roles/base/files/django-b231bcd19e57267ce1fc21d42d46f0b65fdcfcf8.patch"
|
||||
|
||||
|
|
Loading…
Reference in New Issue