Changeset 960 for dassmodus/trunk


Ignore:
Timestamp:
Oct 18, 2011, 4:58:35 PM (13 years ago)
Author:
pstorz
Message:

TEMPLATES_PATH added,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dassmodus/trunk/dassmodus/dassmodus/dassmodus/ui/newdatacenterwizard.py

    r956 r960  
    2727  '''
    2828 
    29   def __init__(self, DASSMODUS_BASEDIR ):
     29  def __init__(self, TEMPLATES_PATH ):
    3030    super(newdatacenterwizard, self).__init__()
    3131    self.setupUi(self)
    3232    self.setWindowTitle("New Datacenter Wizard")
    3333    self.groupBox.setTitle('Welcome to the new Datacenter Wizard.')
    34     self.DASSMODUS_BASEDIR = DASSMODUS_BASEDIR
     34    self.TEMPLATES_PATH = TEMPLATES_PATH
    3535    # configuration info that has to be provided:
    3636    self.newDCinfo = {                           
     
    9292        self.newDCinfo[name][2] = unicode(self.field(name).toString())
    9393     
    94       dc = bacresources.DataCenter(os.path.normpath( self.DASSMODUS_BASEDIR + '/templates/BEE404psql.dmdz'))  # use this template
     94      dc = bacresources.DataCenter(os.path.normpath( self.TEMPLATES_PATH + '/BEE404psql.dmdz'))  # use this template
    9595   
    9696      dcname = self.newDCinfo['dcname'][2]
Note: See TracChangeset for help on using the changeset viewer.