Révision 7063330e
Fix python style issues reported by flake8
Additionally some python2-only "print" statements are now compatible
with python3.
| plugins/router/arris-tg3442 | ||
|---|---|---|
| 102 | 102 |
bytes(password.encode("ascii")),
|
| 103 | 103 |
salt, |
| 104 | 104 |
iterations=1000, |
| 105 |
dklen=128/8
|
|
| 105 |
dklen=128 / 8
|
|
| 106 | 106 |
) |
| 107 | 107 |
secret = {"Password": password, "Nonce": current_session_id}
|
| 108 | 108 |
plaintext = bytes(json.dumps(secret).encode("ascii"))
|
Formats disponibles : Unified diff