[Pythonmac-SIG] ZipFile revision....

Schollnick, Benjamin Benjamin.Schollnick at xerox.com
Thu Apr 28 16:30:25 CEST 2005


My apologies.... I forgot two supplemental imports...

(Hopefully a file attach will work on the list...)



> -----Original Message-----
> From: pythonmac-sig-bounces at python.org 
> [mailto:pythonmac-sig-bounces at python.org] On Behalf Of 
> Henning.Ramm at mediapro-gmbh.de
> Sent: Thursday, April 28, 2005 2:32 AM
> To: pythonmac-sig at python.org
> Subject: RE: [Pythonmac-SIG] ZipFile revision....
> 
> 
> 
> >import  bas_init
> 
> What's this?
> 
> >        print "This file, %s, is bad." % test
> 
> test is undefined.

Interesting...  Found the section...  My version has never created a bad
zip file...

Here's the revision...

    print "Verifying the Archive File...."
    test = Backup_Engine.Verify_Backup ( )
    if test:
        print
        print "The Backup has failed!"
        print
        print "This file, %s, is bad." % test
    else:
        print
        print "The Backup has been verified!"
        print
        print "Backup is successful."
    print
    print "Backup Application has completed."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bas_logging.py
Type: application/octet-stream
Size: 3950 bytes
Desc: bas_logging.py
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050428/e1ee333e/bas_logging-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bas_init.py
Type: application/octet-stream
Size: 25738 bytes
Desc: bas_init.py
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20050428/e1ee333e/bas_init-0001.obj


More information about the Pythonmac-SIG mailing list