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

Sorry Daniel, another small patch




-- 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
--- pywebdav-0.9.2.orig/DAVServer/server.py     2009-05-11 23:43:08.000000000 
+0200
+++ pywebdav-0.9.2/DAVServer/server.py  2009-05-18 12:00:29.000000000 +0200
@@ -272,7 +272,7 @@
     if daemonize:
 
         # check if pid file exists
-        if os.path.exists('/tmp/pydav%s.pid' % counter) and daemonaction != 
'stop':
+       if os.path.exists('/tmp/pydav%s.pid' % counter) and daemonaction not in 
['status', 'stop']:
             print >>sys.stderr, \
                   '>> ERROR: Found another instance! Either use -i to specifiy 
another instance number or remove /tmp/pydav%s.pid!' % counter
             sys.exit(3)

Reply via email to