summaryrefslogtreecommitdiff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2021-06-01 23:10:19 +0200
committerAndrej Shadura <andrewsh@debian.org>2021-06-01 23:10:19 +0200
commit132a9469e7bdf7163ae778a8ffb56be94a0a8371 (patch)
tree06822a4cb22242b32d4eef36c25c0bae7b55a1f9 /synapse/storage/_base.py
parent15f5aeb7b449ed6d5c61403d72fbc81583c1b0cc (diff)
New upstream version 1.35.0
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 3d98d3f5..0623da9a 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import logging
-import random
from abc import ABCMeta
from typing import TYPE_CHECKING, Any, Collection, Iterable, Optional, Union
@@ -44,7 +43,6 @@ class SQLBaseStore(metaclass=ABCMeta):
self._clock = hs.get_clock()
self.database_engine = database.engine
self.db_pool = database
- self.rand = random.SystemRandom()
def process_replication_rows(
self,