Package: python-webdav
Version: 0.9.2-2
Severity: grave
Tags: patch

There seems to be a problem in DAVServer/fshandler.py.
pywebdav does not list any files

--- pywebdav-0.9.2.orig/DAVServer/fshandler.py  2009-05-11 17:16:06.000000000 
+0200
+++ pywebdav-0.9.2/DAVServer/fshandler.py       2009-05-18 11:03:28.000000000 
+0200
@@ -62,7 +62,7 @@
         """ map local filename to self.baseuri """
 
         pnum=len(split(self.directory,"/"))
-        parts=split(filename,"/")[pnum:]
+        parts=split(filename,"/")[pnum-1:]
         sparts="/"+joinfields(parts,"/")
         uri=urlparse.urljoin(self.baseuri,sparts)
         return uri



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing-proposed-updates
  APT policy: (505, 'testing-proposed-updates'), (501, 'testing'), (500, 
'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc5 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-webdav depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-pkg-resources          0.6c9-2    Package Discovery and Resource Acc
ii  python-support                1.0.2      automated rebuilding support for P
ii  python-xml                    0.8.4-10.1 XML tools for Python

python-webdav recommends no packages.

python-webdav suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to