summaryrefslogtreecommitdiff
path: root/django/core/signing.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2016-03-28 18:33:29 -0400
committerTim Graham <timograham@gmail.com>2016-04-08 09:51:06 -0400
commitdf8d8d4292684d6ffa7474f1e201aed486f02b53 (patch)
treec661bf9b33de5288afe4f63347a2a9c768ef98eb /django/core/signing.py
parent2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff)
downloaddjango-df8d8d4292684d6ffa7474f1e201aed486f02b53.tar.gz
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/core/signing.py')
-rw-r--r--django/core/signing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/core/signing.py b/django/core/signing.py
index 9d4c665ad2..22b438315b 100644
--- a/django/core/signing.py
+++ b/django/core/signing.py
@@ -160,8 +160,7 @@ class Signer(object):
'Unsafe Signer separator: %r (cannot be empty or consist of '
'only A-z0-9-_=)' % sep,
)
- self.salt = force_str(salt or
- '%s.%s' % (self.__class__.__module__, self.__class__.__name__))
+ self.salt = force_str(salt or '%s.%s' % (self.__class__.__module__, self.__class__.__name__))
def signature(self, value):
signature = base64_hmac(self.salt + 'signer', value, self.key)