This is an automated email from the git hooks/post-receive script.
msuchy pushed a commit to branch master
in repository copr/copr.
commit 362961dc392870945f0ce4dd177708237385a52e
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Nov 15 11:19:23 2017 +0100
use descriptive name for variable
---
prunerepo/prunerepo | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/prunerepo/prunerepo b/prunerepo/prunerepo
index 34dce12..23a6905 100755
--- a/prunerepo/prunerepo
+++ b/prunerepo/prunerepo
@@ -80,8 +80,8 @@ def get_package_build_time(package_path):
"""
Get build time by reading package metadata
"""
- createrepo_cmd = ['/usr/bin/rpm', '-qp', '--queryformat',
'%{BUILDTIME}'] + [ package_path ]
- stdout = run_cmd(createrepo_cmd, silent=True)
+ query_cmd = ['/usr/bin/rpm', '-qp', '--queryformat',
'%{BUILDTIME}'] + [ package_path ]
+ stdout = run_cmd(query_cmd, silent=True)
return int(stdout[0])
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date