[Zope] zpasswrd minor bug

Delarue Christophe cdelarue@e-generis.com
Wed, 10 Apr 2002 16:07:50 +0200


--OvUXG/nb6G
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

I saw a little bug in the zpasswd.py script, attached in the patch.


--OvUXG/nb6G
Content-Type: text/plain
Content-Disposition: inline;
	filename="zpasswd.patch"
Content-Transfer-Encoding: 7bit

diff -c zpasswd.py zpasswd.py~
*** zpasswd.py	Wed Apr 10 10:46:01 2002
--- zpasswd.py~	Wed Nov 28 16:50:49 2001
***************
*** 123,129 ****
          if len(argv) < 2:
              raise "CommandLineError"
          
!         optlist, args = getopt.getopt(argv[1:], short_options, long_options)
  
          if len(args) != 1:
              raise "CommandLineError"
--- 123,129 ----
          if len(argv) < 2:
              raise "CommandLineError"
          
!         optlist, args = getopt.getopt(sys.argv[1:], short_options, long_options)
  
          if len(args) != 1:
              raise "CommandLineError"
rnbl715:/home/export/delarue/Downloads/Python/Zope-2.5.0-solaris-2.6-sparc> 
--OvUXG/nb6G
Content-Type: text/plain; charset=iso-8859-1
Content-Description: message body text
Content-Transfer-Encoding: quoted-printable


--=20
Christophe DELARUE        E-Generis
Tel.: (+33) 299 842052 =A0=A0 Fax.: (+33) 299 639331
13, sq. du Chene Germain / 35510 Cesson-Sevigne / France
mailto:cdelarue@e-generis.com

--OvUXG/nb6G--