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
7ca85974
Commit
7ca85974
authored
Jan 31, 2011
by
rfkelly0
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debugging print from DAVFS
parent
04694275
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
fs/__init__.py
+1
-1
fs/contrib/davfs/__init__.py
+1
-2
No files found.
fs/__init__.py
View file @
7ca85974
...
@@ -15,7 +15,7 @@ implementations of this interface such as:
...
@@ -15,7 +15,7 @@ implementations of this interface such as:
"""
"""
__version__
=
"0.4.0a1
0
"
__version__
=
"0.4.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/contrib/davfs/__init__.py
View file @
7ca85974
...
@@ -504,7 +504,6 @@ class DAVFS(FS):
...
@@ -504,7 +504,6 @@ class DAVFS(FS):
if
response
.
status
==
405
:
if
response
.
status
==
405
:
raise
ResourceInvalidError
(
path
)
raise
ResourceInvalidError
(
path
)
if
response
.
status
<
200
or
response
.
status
>=
300
:
if
response
.
status
<
200
or
response
.
status
>=
300
:
print
response
.
read
()
raise_generic_error
(
response
,
"remove"
,
path
)
raise_generic_error
(
response
,
"remove"
,
path
)
return
True
return
True
...
@@ -749,7 +748,7 @@ class DAVFS(FS):
...
@@ -749,7 +748,7 @@ class DAVFS(FS):
if
node
.
nodeType
!=
node
.
ELEMENT_NODE
:
if
node
.
nodeType
!=
node
.
ELEMENT_NODE
:
continue
continue
if
node
.
namespaceURI
:
if
node
.
namespaceURI
:
if
node
.
namespaceURI
==
"DAV:"
:
if
node
.
namespaceURI
in
(
"DAV:"
,
"PYFS:"
,)
:
continue
continue
propname
=
node
.
namespaceURI
+
node
.
localName
propname
=
node
.
namespaceURI
+
node
.
localName
else
:
else
:
...
...
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