Changeset 4171


Ignore:
Timestamp:
Apr 11, 2017, 10:07:34 AM (2 years ago)
Author:
Juanma
Message:

Concat sql files on a single file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-abies2pmb/trunk/fuentes/lliurex-abies2pmb-core.install/abies2pmb.py

    r4170 r4171  
    88class abiesToPmb():
    99        def __init__(self,mdbFile,sqlFile):
    10                 self.dbg=1
     10                self.dbg=0
    1111               
    1212                #Dict with relations between pmb and abies
     
    8181                #Dict with errors
    8282                self.error={}
     83                self.error['status']=True
    8384
    8485                #Array with process order (including virtual tables)
     
    121122#                       else:
    122123#                               self.error['ERR']=e
     124                exit(1)
    123125        #def _error
    124126
     
    556558migration=abiesToPmb(sys.argv[1],sys.argv[2])
    557559result=migration.beginMigration()
    558 print(result)
     560print("File "+sys.argv[2]+" generated")
    559561
    560562
Note: See TracChangeset for help on using the changeset viewer.