diff options
author | Krombel <krombel@krombel.de> | 2018-07-30 19:38:38 +0200 |
---|---|---|
committer | Krombel <krombel@krombel.de> | 2018-07-30 23:59:02 +0200 |
commit | 254e8267e20ccde19f89eccdfb67b7aaecb32eec (patch) | |
tree | 5b889ca649db2b36925d178c7f40adc6c34172bf /docs | |
parent | make /context lazyload & filter aware (#3567) (diff) | |
download | synapse-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 'docs')
0 files changed, 0 insertions, 0 deletions