summaryrefslogtreecommitdiff
path: root/django/core/files/temp.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/files/temp.py
parent2956e2f5e3f63d279f5dae2a995265364d3e6db1 (diff)
downloaddjango-df8d8d4292684d6ffa7474f1e201aed486f02b53.tar.gz
Fixed E128 flake8 warnings in django/.
Diffstat (limited to 'django/core/files/temp.py')
-rw-r--r--django/core/files/temp.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/core/files/temp.py b/django/core/files/temp.py
index 0791b8536e..f70d975dbe 100644
--- a/django/core/files/temp.py
+++ b/django/core/files/temp.py
@@ -35,8 +35,7 @@ if os.name == 'nt':
Python 2.6+, or the 'delete', 'buffering', 'encoding', or 'newline'
keyword arguments in Python 3.0+.
"""
- def __init__(self, mode='w+b', bufsize=-1, suffix='', prefix='',
- dir=None):
+ def __init__(self, mode='w+b', bufsize=-1, suffix='', prefix='', dir=None):
fd, name = tempfile.mkstemp(suffix=suffix, prefix=prefix, dir=dir)
self.name = name
self.file = os.fdopen(fd, mode, bufsize)