mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 05:17:15 +00:00
Monotone-Parent: e949fa30ccb421b969a930914284c098d18799ff
Monotone-Revision: 35e9c147975a505b9f65362ed057555a3cd24c9b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-10T15:12:01 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
ed4d17f83c
commit
6cb148d463
1 file changed
+5
-1
+5
-1
@@ -15,7 +15,6 @@ quiet = False
|
||||
(opts, args) = getopt.getopt(sys.argv[1:], "d:q", ["depth=", "quiet"])
|
||||
|
||||
for pair in opts:
|
||||
print pair
|
||||
if (pair[0] == "-d" or pair[0] == "--depth"):
|
||||
depth = pair[1]
|
||||
elif (pair[0] == "-q" or pair[0] == "--quiet"):
|
||||
@@ -37,3 +36,8 @@ else:
|
||||
client = webdavlib.WebDAVClient(hostname, port, username, password)
|
||||
propfind = webdavlib.WebDAVPROPFIND(resource, properties, depth)
|
||||
client.execute(propfind)
|
||||
print propfind.response["body"]
|
||||
|
||||
# if propfind.response.has_key("document"):
|
||||
# print ("document tree: %s"
|
||||
# % xml.etree.ElementTree.dump(propfind.response["document"]))
|
||||
Reference in new issue
Block a user