def __load_target_hash(self): try: key_list = bldreg.section_key_list('targets') except KeyError: return ## figure out the base absolute path base_path = ushell.posix_path(bldreg.get_value('build', 'path')) self.__target_hash = {} for key in key_list: target_path = ushell.join( base_path, ushell.posix_path(bldreg.get_value('targets', key))) self.__target_hash[key] = target_path
def process_checkins(self, dir): import bldreg print "Processing distribution checkins" for file in bldreg.section_key_list("distribute"): apply(self.checkin, (os.path.join(dir, file), ) + bldreg.get_value("distribute",file))
def process_checkins(self, dir): import bldreg print "Processing distribution checkins" for file in bldreg.section_key_list("distribute"): apply(self.checkin, (os.path.join(dir, file), ) + bldreg.get_value("distribute", file))