Skip to content

Commit 8a2928c

Browse files
committed
flake8 cleanup: whitspeace format changes.
1 parent 54c27d5 commit 8a2928c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

roundup/anypy/random_.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
try:
22
from secrets import choice, randbelow, token_bytes
3-
def seed(v = None):
3+
4+
def seed(v=None):
45
pass
56

67
is_weak = False
@@ -10,15 +11,15 @@ def seed(v = None):
1011

1112
# prefer to use SystemRandom if it is available
1213
if hasattr(_random, 'SystemRandom'):
13-
def seed(v = None):
14+
def seed(v=None):
1415
pass
1516

1617
_r = _random.SystemRandom()
1718
is_weak = False
1819
else:
1920
# don't completely throw away the existing state, but add some
2021
# more random state to the existing state
21-
def seed(v = None):
22+
def seed(v=None):
2223
import os, time
2324
_r.seed((_r.getstate(),
2425
v,

0 commit comments

Comments
 (0)