[Pkg-zope-developers] dzhandle patch

martin f krafft madduck@madduck.net
Tue, 29 Mar 2005 11:31:47 +0200


--GvXjxJ+pjyke8COw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I believe the following corrects a small logic error in the dzhandle
script:

--- /usr/sbin/dzhandle  Mon Mar 28 20:15:47 2005
+++ /usr/local/sbin/dzhandle  Tue Mar 29 11:28:03 2005
@@ -1270,7 +1270,7 @@
         self.technique =3D None
         if len(self.args) > 1:
             self.technique =3D self.args[1]
-            if not self.technique in ('manual', 'all'):
+            if not self.technique in addon_techniques:
                 self.error("unknown addon technique `%s'" % self.technique)
         elif len(self.args) > 2:
             self.error('<instance> [<addon technique>]')

--=20
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
=20
invalid/expired pgp subkeys? use subkeys.pgp.net as keyserver!
spamtraps: madduck.bogus@madduck.net
=20
"the greatest trick the devil ever pulled
 was convincing the world he didn't exist."
                                 -- verbal kint (the usual suspects)

--GvXjxJ+pjyke8COw
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFCSSCDIgvIgzMMSnURAgHOAJ41d1rrrNtJS35f9M0T1ofOEpbhYACcC3Em
VqB+4gCJMVE6TzVuGzPitEc=
=efqb
-----END PGP SIGNATURE-----

--GvXjxJ+pjyke8COw--