summary refs log tree commit diff
path: root/changelog.d/3626.bugfix
diff options
context:
space:
mode:
authorKrombel <krombel@krombel.de>2018-07-30 19:38:38 +0200
committerKrombel <krombel@krombel.de>2018-07-30 23:59:02 +0200
commit254e8267e20ccde19f89eccdfb67b7aaecb32eec (patch)
tree5b889ca649db2b36925d178c7f40adc6c34172bf /changelog.d/3626.bugfix
parentmake /context lazyload & filter aware (#3567) (diff)
downloadsynapse-254e8267e20ccde19f89eccdfb67b7aaecb32eec.tar.xz
Only import secrets when available
secrets got introduced in python 3.6 so this class is not available
in 3.5 and before.

This now checks for the current running version and only tries using
secrets if the version is 3.6 or above

Signed-Off-By: Matthias Kesler <krombel@krombel.de>
Diffstat (limited to 'changelog.d/3626.bugfix')
-rw-r--r--changelog.d/3626.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/3626.bugfix b/changelog.d/3626.bugfix
new file mode 100644
index 0000000000..9a4b878986
--- /dev/null
+++ b/changelog.d/3626.bugfix
@@ -0,0 +1 @@
+Only import secrets when available (fix for py < 3.6)