mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-02-10 16:44:59 +08:00
unused method
This commit is contained in:
@@ -852,18 +852,6 @@ chmod 644 %buildroot/%_rpmconfigdir/macros.d/macros.modules
|
|||||||
self.koji_session.editTag2(tag_name, **opts)
|
self.koji_session.editTag2(tag_name, **opts)
|
||||||
return self._get_tag(tag_name) # Return up2date taginfo
|
return self._get_tag(tag_name) # Return up2date taginfo
|
||||||
|
|
||||||
def _get_logged_in_user(self):
|
|
||||||
"""
|
|
||||||
:return str or None (raise ValueError)
|
|
||||||
|
|
||||||
Get username of logged in user in the current Koji session.
|
|
||||||
"""
|
|
||||||
|
|
||||||
user = self.koji_session.getLoggedInUser()['name']
|
|
||||||
if not self.koji_session.getUser(user):
|
|
||||||
raise ValueError("Unknown user %s" % user)
|
|
||||||
return user
|
|
||||||
|
|
||||||
def _koji_whitelist_packages(self, packages, tags=None):
|
def _koji_whitelist_packages(self, packages, tags=None):
|
||||||
if not tags:
|
if not tags:
|
||||||
tags = [self.module_tag, self.module_build_tag]
|
tags = [self.module_tag, self.module_build_tag]
|
||||||
|
|||||||
Reference in New Issue
Block a user