diff options
Diffstat (limited to 'django/core/files/temp.py')
| -rw-r--r-- | django/core/files/temp.py | 3 |
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) |
