def __init__(self, dtcollection, var_factory=None, debug=True):
     self.dtcollection = dtcollection
     if var_factory is None:
         print 'no no no' #-#
         self.new_var = VarGenerator.factory('Lin')
     else:
         print 'ok' #-#
         self.new_var = var_factory
     self.debug_enabled = debug
Example #2
0
 def __init__(self, dtcollection, var_factory=None):
     self.dtcollection = dtcollection
     if var_factory is None:
         self.new_var = VarGenerator.factory('X')
     else:
         self.new_var = var_factory