diff options
-rw-r--r-- | buildbot_gentoo_ci/steps/portage.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/buildbot_gentoo_ci/steps/portage.py b/buildbot_gentoo_ci/steps/portage.py index 775e076..f90da5a 100644 --- a/buildbot_gentoo_ci/steps/portage.py +++ b/buildbot_gentoo_ci/steps/portage.py @@ -92,12 +92,12 @@ class SetMakeProfile(BuildStep): portage_repos_path = self.getProperty('portage_repos_path') project_data = self.getProperty('project_data') profile_repository_data = yield self.gentooci.db.repositorys.getRepositoryByUuid(project_data['profile_repository_uuid']) - makeprofiles_paths = [] + #makeprofiles_paths = [] #NOTE: pkgcheck don't support make.profile as a dir # we only support one line in db - makeprofiles_data = yield self.gentooci.db.projects.getAllProjectPortageByUuidAndDirectory(project_data['uuid'], 'make.profile') - for makeprofile in makeprofiles_data: - makeprofile_path = yield os.path.join(portage_repos_path, profile_repository_data['name'], 'profiles', makeprofile['value'], '') + #makeprofiles_data = yield self.gentooci.db.projects.getAllProjectPortageByUuidAndDirectory(project_data['uuid'], 'make.profile') + #for makeprofile in makeprofiles_data: + makeprofile_path = yield os.path.join(portage_repos_path, profile_repository_data['name'], 'profiles', project_data['profile'], '') # makeprofiles_paths.append('../../..' + makeprofile_path) #separator = '\n' #makeprofile_path_string = separator.join(makeprofiles_paths) |