Changes between Version 7 and Version 8 of DbDumpScript


Ignore:
Timestamp:
02/25/07 19:41:17 (8 years ago)
Author:
limodou@…
Comment:

update to 1.5

Legend:

Unmodified
Added
Removed
Modified
  • DbDumpScript

    v7 v8  
    9090# be saved as python source code, and you can import it.
    9191#
    92 # Version 1.4 2007-01-20
     92# Version 1.5 2007-02-08
    9393#
    9494# Update 1.0 2007-01-18
     
    107107# Update 1.4 2007-01-21
    108108#    * support mysql
     109#
     110# Update 1.5 2007-02-08
     111#    * If the filename is not exists, then skip it
    109112#
    110113
     
    213216   
    214217    if errornum:
    215         print "There are %d errors found!" % errornum
     218        print "There are %d errors found! The database has been rollbacked!" % errornum
    216219    else:
    217220        print "Successful!"
     
    233236    if verbose:
    234237        print '..Dealing %s for %s format...\n' % (filename, format)
     238    if not os.path.exists(filename):
     239        if verbose:
     240            print '..%s does not exists, so Skip it..\n' % filename
     241        return
    235242    try:
    236243        objs = {}
Back to Top