Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pyfs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pyfs
Commits
cf0a9b8a
Commit
cf0a9b8a
authored
Mar 09, 2010
by
rfkelly0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set max size for SpooledTemporaryFile
parent
777a11d3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
fs/__init__.py
+1
-1
fs/remote.py
+1
-1
No files found.
fs/__init__.py
View file @
cf0a9b8a
...
@@ -15,7 +15,7 @@ implementations of this interface such as:
...
@@ -15,7 +15,7 @@ implementations of this interface such as:
"""
"""
__version__
=
"0.2.0a1
0
"
__version__
=
"0.2.0a1
1
"
__author__
=
"Will McGugan (will@willmcgugan.com)"
__author__
=
"Will McGugan (will@willmcgugan.com)"
# 'base' imports * from 'path' and 'errors', so their
# 'base' imports * from 'path' and 'errors', so their
...
...
fs/remote.py
View file @
cf0a9b8a
...
@@ -75,7 +75,7 @@ class RemoteFileBuffer(object):
...
@@ -75,7 +75,7 @@ class RemoteFileBuffer(object):
optional argument 'rfile' is provided, it must be a read()-able
optional argument 'rfile' is provided, it must be a read()-able
object or a string containing the initial file contents.
object or a string containing the initial file contents.
"""
"""
self
.
file
=
SpooledTemporyFile
(
max_size
=
self
.
max_size_in_memory
)
self
.
file
=
SpooledTempor
ar
yFile
(
max_size
=
self
.
max_size_in_memory
)
self
.
fs
=
fs
self
.
fs
=
fs
self
.
path
=
path
self
.
path
=
path
self
.
mode
=
mode
self
.
mode
=
mode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment