Commit 7ca85974 by rfkelly0

remove debugging print from DAVFS

parent 04694275
...@@ -15,7 +15,7 @@ implementations of this interface such as: ...@@ -15,7 +15,7 @@ implementations of this interface such as:
""" """
__version__ = "0.4.0a10" __version__ = "0.4.0a11"
__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
......
...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment