Your message dated Sun, 03 Aug 2008 07:32:07 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#493354: fixed in zope-common 0.5.45
has caused the Debian Bug report #493354,
regarding zope-common: dzhandle fails to install products
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
493354: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493354
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: zope-common
Version: 0.5.44
Severity: normal


svn diff -r 1255:1256 svn://svn.debian.org/pkg-zope/zope-common/trunk/dzhandle
Index: dzhandle
===================================================================
--- dzhandle    (revision 1255)
+++ dzhandle    (revision 1256)

@@ -2049,8 +2049,9 @@
         dzlib = os.path.join(addon.path, '.dzlib')
         if os.path.isdir(dzlib):
             for dir in os.listdir(dzlib):
-                os.symlink(os.path.join(dzlib, dir),
-                    os.path.join(self.home, 'lib', 'python', dir))
+                if not os.path.exists(os.path.join(dzlib, dir)):
+                    os.symlink(os.path.join(dzlib, dir),
+                        os.path.join(self.home, 'lib', 'python', dir))
 
         added_addon = addon.addonClass(target_path, False)
         self._installed_addons.append(added_addon)

I think that if os.listdir says that dir is in dzlib, it can be trusted to 
exist, so saying 'if not os.path.exists(os.path.join(dzlib, dir)):' will 
likely never match. My guess is that kobold wanted to say

  if not os.path.exists(os.path.join(self.home, 'lib', 'python', dir)):

Symmetric code would be useful in remove_addon too, in order to remove 
addons that failed to install.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22quest (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: 
LC_ALL set to sv_SE)
Shell: /bin/sh linked to /bin/bash

Versions of packages zope-common depends on:
ii  adduser                       3.108      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.23     Debian configuration management sy
ii  python2.4                     2.4.5-4    An interactive high-level object-o

zope-common recommends no packages.

zope-common suggests no packages.

-- debconf information:
  zope-common/admin-password-confirmation: (password omitted)
  zope-common/admin-password: (password omitted)
  zope-common/instance-http-port:
  zope-common/remove-instance-without-data: abort
  zope-common/admin-user: admin
  zope-common/instance-zeo-port:
  zope-common/admin-automatic-password:
  zope-common/keep-data-on-purge: true
  shared/zope/restart: end

-- 
"How can I tell that the road signed to hell - doesn't lead up to heaven?"
  -- Peter Hammill; The Comet, The Course, The Tail



--- End Message ---
--- Begin Message ---
Source: zope-common
Source-Version: 0.5.45

We believe that the bug you reported is fixed in the latest version of
zope-common, which is due to be installed in the Debian FTP archive:

zope-common_0.5.45.dsc
  to pool/main/z/zope-common/zope-common_0.5.45.dsc
zope-common_0.5.45.tar.gz
  to pool/main/z/zope-common/zope-common_0.5.45.tar.gz
zope-common_0.5.45_all.deb
  to pool/main/z/zope-common/zope-common_0.5.45_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabio Tranchitella <[EMAIL PROTECTED]> (supplier of updated zope-common package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 03 Aug 2008 09:21:18 +0200
Source: zope-common
Binary: zope-common
Architecture: source all
Version: 0.5.45
Distribution: unstable
Urgency: low
Maintainer: Debian/Ubuntu Zope Team <[EMAIL PROTECTED]>
Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]>
Description: 
 zope-common - common settings and scripts for Zope installations
Closes: 493354
Changes: 
 zope-common (0.5.45) unstable; urgency=low
 .
   * dzhandle: applied patch from [EMAIL PROTECTED] to fix a typo in the
     libraries handling. (Closes: #493354)
Checksums-Sha1: 
 f85f61c707b2ff600d57913b525a8fb9f10a8e4e 1099 zope-common_0.5.45.dsc
 e3cc1c923a01600a1722ab8be9d212348ac1f780 62568 zope-common_0.5.45.tar.gz
 3e996260d5eb324a813192dab7d433d3eeaac405 45592 zope-common_0.5.45_all.deb
Checksums-Sha256: 
 85cde57d5b99e2d90b8afa12eb5ae2e2f7f881e593a94b1698b86f97efdb2f1b 1099 
zope-common_0.5.45.dsc
 bed0ab0c8ed219cb40ad2b488a20fa77c2e233103cc20011cfee5c4cc83d9449 62568 
zope-common_0.5.45.tar.gz
 e3f769dbfabe5d2796394e72700f6c5b966ff291d2f85479c89bd1423c60e097 45592 
zope-common_0.5.45_all.deb
Files: 
 40962fc9760b3945f8e6f2c114ffbe91 1099 web optional zope-common_0.5.45.dsc
 053916c79281ce2975ed81f067e33b07 62568 web optional zope-common_0.5.45.tar.gz
 3d7479a5b388dc30e96523a828796703 45592 web optional zope-common_0.5.45_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiVXTwACgkQK/juK3+WFWRwEgCffKhbxd3SDKtfU0MBzYJHVoI6
YrIAnjVXWcwhZxFkJEnO8jvK7psWPRXD
=bU9l
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to