diff options
author | Magnus Hagander | 2018-12-14 11:43:50 +0000 |
---|---|---|
committer | Magnus Hagander | 2018-12-14 11:43:50 +0000 |
commit | 5e8a4a7ab78a9939b21d11094234231bda59567a (patch) | |
tree | 9d32974ce783aeecbae020d6391baef4fa376a95 /postgresqleu/util/random.py | |
parent | 5e500d7d55ef048adc1dcf009db42d10c7ad53fc (diff) |
Replace tabs with spaces
In an effort to close up with PEP8, we should use spaces for indent
rather than tabs... Time to update your editor config!
Diffstat (limited to 'postgresqleu/util/random.py')
-rw-r--r-- | postgresqleu/util/random.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/postgresqleu/util/random.py b/postgresqleu/util/random.py index dfea233f..4114592e 100644 --- a/postgresqleu/util/random.py +++ b/postgresqleu/util/random.py @@ -2,7 +2,7 @@ from Crypto.Hash import SHA256 from Crypto import Random def generate_random_token(): - s = SHA256.new() - r = Random.new() - s.update(r.read(250)) - return s.hexdigest() + s = SHA256.new() + r = Random.new() + s.update(r.read(250)) + return s.hexdigest() |