diff mbox series

[1/8] test-runner: remove reference to missing class member

Message ID 20220624230741.1957863-1-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/8] test-runner: remove reference to missing class member | expand

Checks

Context Check Description
tedd_an/pre-ci_am fail error: patch failed: tools/utils.py:259 error: tools/utils.py: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch

Commit Message

James Prestwood June 24, 2022, 11:07 p.m. UTC
The print statement was referencing self.name, which doesn't exist. Use
self.args[0] instead.
---
 tools/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Denis Kenzior June 24, 2022, 11:13 p.m. UTC | #1
Hi James,

On 6/24/22 18:07, James Prestwood wrote:
> The print statement was referencing self.name, which doesn't exist. Use
> self.args[0] instead.
> ---
>   tools/utils.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

All applied, thanks.

Regards,
-Denis
diff mbox series

Patch

diff --git a/tools/utils.py b/tools/utils.py
index 66002f77..857aa1eb 100644
--- a/tools/utils.py
+++ b/tools/utils.py
@@ -259,7 +259,7 @@  class Process(subprocess.Popen):
 		try:
 			self.wait(timeout=15)
 		except:
-			print("Process %s did not complete in 15 seconds!" % self.name)
+			print("Process %s did not complete in 15 seconds!" % self.args[0])
 			super().kill()
 
 		self._cleanup()