MatrixSynapse/synapse
Krombel 254e8267e2 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>
2018-07-30 23:59:02 +02:00
..
api Deduplicate redundant lazy-loaded members (#3331) 2018-07-26 22:51:30 +01:00
app Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
appservice
config
crypto
events
federation Update the send_leave path to be an event_id 2018-07-26 14:41:59 -06:00
groups Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
handlers make /context lazyload & filter aware (#3567) 2018-07-27 15:12:50 +01:00
http
metrics Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
module_api
push
replication Fix unit tests 2018-07-25 10:30:36 +01:00
rest make /context lazyload & filter aware (#3567) 2018-07-27 15:12:50 +01:00
server_notices
static/client
storage make /context lazyload & filter aware (#3567) 2018-07-27 15:12:50 +01:00
streams
util Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py Only import secrets when available 2018-07-30 23:59:02 +02:00
server.py
server.pyi
state.py
types.py
visibility.py