aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--RepSys/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/RepSys/log.py b/RepSys/log.py
index 25c54de..d1e2a59 100644
--- a/RepSys/log.py
+++ b/RepSys/log.py
@@ -61,7 +61,7 @@ def getrelease(pkgdirurl, rev=None):
if found:
specpath = found[0]
command = (("rpm -q --qf '%%{VERSION}-%%{RELEASE}\n' "
- "--specfile %s") % specpath)
+ "--specfile %s 2>/dev/null") % specpath)
status, output = execcmd(command)
if status != 0:
raise Error, "Error in command %s: %s" % (command, output)