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
72df6519
Commit
72df6519
authored
Mar 08, 2011
by
rfkelly0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more renames of "tahoefs"
parent
250ce7d9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
fs/contrib/tahoelafs/test_tahoelafs.py
+3
-3
fs/opener.py
+1
-1
setup.py
+1
-1
No files found.
fs/contrib/tahoelafs/test_tahoelafs.py
View file @
72df6519
...
@@ -12,17 +12,17 @@ import unittest
...
@@ -12,17 +12,17 @@ import unittest
from
fs.base
import
FS
from
fs.base
import
FS
import
fs.errors
as
errors
import
fs.errors
as
errors
from
fs.tests
import
FSTestCases
,
ThreadingTestCases
from
fs.tests
import
FSTestCases
,
ThreadingTestCases
from
fs.contrib.tahoefs
import
TahoeLAFS
,
Connection
from
fs.contrib.tahoe
la
fs
import
TahoeLAFS
,
Connection
logging
.
getLogger
()
.
setLevel
(
logging
.
DEBUG
)
logging
.
getLogger
()
.
setLevel
(
logging
.
DEBUG
)
logging
.
getLogger
(
'fs.tahoefs'
)
.
addHandler
(
logging
.
StreamHandler
(
sys
.
stdout
))
logging
.
getLogger
(
'fs.tahoe
la
fs'
)
.
addHandler
(
logging
.
StreamHandler
(
sys
.
stdout
))
WEBAPI
=
'http://pubgrid.tahoe-lafs.org'
WEBAPI
=
'http://pubgrid.tahoe-lafs.org'
class
TestTahoeLAFS
(
unittest
.
TestCase
,
FSTestCases
,
ThreadingTestCases
):
class
TestTahoeLAFS
(
unittest
.
TestCase
,
FSTestCases
,
ThreadingTestCases
):
# Disabled by default because it takes a *really* long time.
# Disabled by default because it takes a *really* long time.
__test__
=
False
#
__test__ = False
def
setUp
(
self
):
def
setUp
(
self
):
self
.
dircap
=
TahoeLAFS
.
createdircap
(
WEBAPI
)
self
.
dircap
=
TahoeLAFS
.
createdircap
(
WEBAPI
)
...
...
fs/opener.py
View file @
72df6519
...
@@ -571,7 +571,7 @@ class TahoeOpener(Opener):
...
@@ -571,7 +571,7 @@ class TahoeOpener(Opener):
@classmethod
@classmethod
def
get_fs
(
cls
,
registry
,
fs_name
,
fs_name_params
,
fs_path
,
writeable
,
create_dir
):
def
get_fs
(
cls
,
registry
,
fs_name
,
fs_name_params
,
fs_path
,
writeable
,
create_dir
):
from
fs.contrib.tahoefs
import
TahoeLAFS
from
fs.contrib.tahoe
la
fs
import
TahoeLAFS
if
'/uri/'
not
in
fs_path
:
if
'/uri/'
not
in
fs_path
:
raise
OpenerError
(
"""Tahoe-LAFS url should be in the form <url>/uri/<dicap>"""
)
raise
OpenerError
(
"""Tahoe-LAFS url should be in the form <url>/uri/<dicap>"""
)
...
...
setup.py
View file @
72df6519
...
@@ -51,7 +51,7 @@ setup(name='fs',
...
@@ -51,7 +51,7 @@ setup(name='fs',
'fs.contrib'
,
'fs.contrib'
,
'fs.contrib.bigfs'
,
'fs.contrib.bigfs'
,
'fs.contrib.davfs'
,
'fs.contrib.davfs'
,
'fs.contrib.tahoefs'
,
'fs.contrib.tahoe
la
fs'
,
'fs.commands'
],
'fs.commands'
],
scripts
=
[
'fs/commands/
%
s'
%
command
for
command
in
COMMANDS
],
scripts
=
[
'fs/commands/
%
s'
%
command
for
command
in
COMMANDS
],
classifiers
=
classifiers
,
classifiers
=
classifiers
,
...
...
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