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
ea7f6b43
Commit
ea7f6b43
authored
Feb 19, 2014
by
willmcgugan@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
5af2e965
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
fs/iotools.py
+1
-1
fs/mountfs.py
+1
-1
fs/multifs.py
+1
-1
No files found.
fs/iotools.py
View file @
ea7f6b43
...
...
@@ -79,7 +79,7 @@ class RawWrapper(object):
def
read1
(
self
,
n
=-
1
):
if
self
.
is_io
:
return
self
.
read1
(
n
)
return
self
.
_f
.
read1
(
n
)
return
self
.
read
(
n
)
def
readall
(
self
):
...
...
fs/mountfs.py
View file @
ea7f6b43
...
...
@@ -161,7 +161,7 @@ class MountFS(FS):
return
"Mount dir"
else
:
return
"Mounted file"
return
"Mounted dir, maps to path
%
s on
%
s"
%
(
delegate_path
or
'/'
,
str
(
fs
))
return
"Mounted dir, maps to path
%
s on
%
s"
%
(
abspath
(
delegate_path
)
or
'/'
,
str
(
fs
))
@synchronize
def
isdir
(
self
,
path
):
...
...
fs/multifs.py
View file @
ea7f6b43
...
...
@@ -235,7 +235,7 @@ class MultiFS(FS):
name
,
fs
=
self
.
which
(
path
)
if
name
is
None
:
return
""
return
"
%
s
, on
%
s (
%
s)"
%
(
fs
.
desc
(
path
),
name
,
fs
)
return
"
%
s
(in
%
s)"
%
(
fs
.
desc
(
path
),
name
)
@synchronize
def
open
(
self
,
path
,
mode
=
'r'
,
buffering
=-
1
,
encoding
=
None
,
errors
=
None
,
newline
=
None
,
line_buffering
=
False
,
**
kwargs
):
...
...
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