This is an automated email from the git hooks/post-receive script.
msuchy pushed a commit to branch master
in repository copr/copr.
commit 0d22179a2520ae95b7ca1b584ed9fce50242f0c5
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Thu Nov 16 09:27:05 2017 +0100
Revert "use descriptive name for variable"
This reverts commit 362961dc392870945f0ce4dd177708237385a52e.
This is again causing a lot of issues in production. Lots of threads are deadlocked.
---
prunerepo/prunerepo | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/prunerepo/prunerepo b/prunerepo/prunerepo
index 23a6905..34dce12 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
"""
- query_cmd = ['/usr/bin/rpm', '-qp', '--queryformat',
'%{BUILDTIME}'] + [ package_path ]
- stdout = run_cmd(query_cmd, silent=True)
+ createrepo_cmd = ['/usr/bin/rpm', '-qp', '--queryformat',
'%{BUILDTIME}'] + [ package_path ]
+ stdout = run_cmd(createrepo_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