From 6c0c3cc87ea5a410685fd312b874b0eb19a2f479 Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Aug 29 2016 19:52:40 +0000 Subject: Modify the bodhi cli usage for `fedpkg update`. This requires the new bodhi2 client, which we need to push out at the same time as this change. Signed-off-by: Luke Macken --- diff --git a/src/fedpkg/__init__.py b/src/fedpkg/__init__.py index 5f12021..a6a5d9e 100644 --- a/src/fedpkg/__init__.py +++ b/src/fedpkg/__init__.py @@ -305,9 +305,8 @@ class Commands(pyrpkg.Commands): """Submit an update to bodhi using the provided template.""" # build up the bodhi arguments - cmd = ['bodhi', '--new', '--release', self.branch_merge, - '--file', 'bodhi.template', self.nvr, '--username', - self.user] + cmd = ['bodhi', 'updates', 'new', '--file', 'bodhi.template', + '--user', self.user, self.nvr] self._run_command(cmd, shell=True) def load_kojisession(self, anon=False):