[PATCH] Fix retirement

Mathieu Bridon bochecha at fedoraproject.org
Fri Jul 4 10:02:16 UTC 2014


Commit 543dd8cf83008a33611e90238aa66ecbe5d77404 renamed the variable
storing the command line argument, but didn't change its name when it is
later used.
---
 src/fedpkg/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/fedpkg/cli.py b/src/fedpkg/cli.py
index f78a33c..39aed2a 100644
--- a/src/fedpkg/cli.py
+++ b/src/fedpkg/cli.py
@@ -69,7 +69,7 @@ class fedpkgClient(cliClient):
                               'retired - will not remove files from git or '
                               'overwrite existing dead.package file')
             else:
-                self.cmd.retire(self.args.msg)
+                self.cmd.retire(self.args.reason)
             self.push()
 
             # get module name from git, because pyrpkg gets it from SPEC,
-- 
1.9.3



More information about the rel-eng mailing list