rteval/SOURCES/rteval-rtevalReport.py-Fix-...

29 lines
919 B
Diff

From 4bd385fb5f23e3f507b3dbbc51677b57abb40e7a Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Thu, 7 May 2020 04:51:25 -0400
Subject: [PATCH 16/17] rteval/rtevalReport.py: Fix non-existant variable
Fix non-existant variable
Signed-off-by: John Kacur <jkacur@redhat.com>
---
rteval/rtevalReport.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rteval/rtevalReport.py b/rteval/rtevalReport.py
index 062cc5efb86f..e02fc9858e69 100644
--- a/rteval/rtevalReport.py
+++ b/rteval/rtevalReport.py
@@ -130,7 +130,7 @@ class rtevalReport:
def _tar_results(self):
if not os.path.isdir(self.__reportdir):
- raise RuntimeError("no such directory: %s" % reportdir)
+ raise RuntimeError("no such directory: %s" % self.__reportdir)
dirname = os.path.dirname(self.__reportdir)
rptdir = os.path.basename(self.__reportdir)
--
2.21.3