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
99dd8521
Commit
99dd8521
authored
Jan 26, 2011
by
rfkelly0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fixes
parent
b44452ac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
fs/contrib/tahoefs/__init__.py
+4
-3
fs/contrib/tahoefs/connection.py
+1
-1
No files found.
fs/contrib/tahoefs/__init__.py
View file @
99dd8521
...
@@ -83,9 +83,10 @@ def _fixpath(path):
...
@@ -83,9 +83,10 @@ def _fixpath(path):
class
_TahoeFS
(
FS
):
class
_TahoeFS
(
FS
):
"""FS providing raw access to a Tahoe Filesystem.
"""FS providing raw access to a Tahoe Filesystem.
This class implements all the details of interacting with a Tahoe-backed filesystem, but you
This class implements all the details of interacting with a Tahoe-backed
probably don't want to use it in practise. Use the TahoeFS class instead, which has some internal
filesystem, but you probably don't want to use it in practice. Use the
caching to improve performance.
TahoeFS class instead, which has some internal caching to improve
performance.
"""
"""
_meta
=
{
'virtual'
:
False
,
_meta
=
{
'virtual'
:
False
,
...
...
fs/contrib/tahoefs/connection.py
View file @
99dd8521
...
@@ -72,7 +72,7 @@ class Connection:
...
@@ -72,7 +72,7 @@ class Connection:
raise
errors
.
StorageSpaceError
(
e
.
fp
.
read
())
raise
errors
.
StorageSpaceError
(
e
.
fp
.
read
())
elif
code
in
(
400
,
404
,
410
):
elif
code
in
(
400
,
404
,
410
):
# Standard not found
# Standard not found
raise
errors
.
ResourceNotFoundError
(
e
.
fp
.
read
())
raise
errors
.
ResourceNotFoundError
(
e
.
fp
.
read
())
raise
errors
.
ResourceInvalidError
(
e
.
fp
.
read
())
raise
errors
.
ResourceInvalidError
(
e
.
fp
.
read
())
def
post
(
self
,
path
,
data
=
{},
params
=
{}):
def
post
(
self
,
path
,
data
=
{},
params
=
{}):
...
...
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