* [PATCH BlueZ] test/test-mesh: Fix python warning
@ 2022-08-22 11:42 Jiaquan He
2022-08-22 13:29 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Jiaquan He @ 2022-08-22 11:42 UTC (permalink / raw)
To: linux-bluetooth
This fixes inconsistent use of tabs and spaces in indentation and
removes unused import.
---
test/test-mesh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/test/test-mesh b/test/test-mesh
index fbf2476bf..f49ddeec6 100755
--- a/test/test-mesh
+++ b/test/test-mesh
@@ -97,7 +97,6 @@ import struct
import fcntl
import os
import numpy
-import random
import dbus
import dbus.service
import dbus.exceptions
@@ -113,7 +112,7 @@ except ImportError:
from dbus.mainloop.glib import DBusGMainLoop
try:
- from termcolor import colored, cprint
+ from termcolor import colored
set_error = lambda x: colored('!' + x, 'red', attrs=['bold'])
set_cyan = lambda x: colored(x, 'cyan', attrs=['bold'])
set_green = lambda x: colored(x, 'green', attrs=['bold'])
@@ -771,7 +770,7 @@ class Menu():
return
if len(cmds) > 1:
for cmd in cmds:
- print(set_cyan(cmd + '?'))
+ print(set_cyan(cmd + '?'))
return
self.menu.get(cmds[0]).func()
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: [BlueZ] test/test-mesh: Fix python warning
2022-08-22 11:42 [PATCH BlueZ] test/test-mesh: Fix python warning Jiaquan He
@ 2022-08-22 13:29 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2022-08-22 13:29 UTC (permalink / raw)
To: linux-bluetooth, jiaquan.he
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=669733
---Test result---
Test Summary:
CheckPatch PASS 1.04 seconds
GitLint PASS 0.75 seconds
Prep - Setup ELL PASS 27.42 seconds
Build - Prep PASS 0.70 seconds
Build - Configure PASS 8.71 seconds
Build - Make PASS 876.68 seconds
Make Check PASS 11.57 seconds
Make Check w/Valgrind PASS 292.49 seconds
Make Distcheck PASS 245.98 seconds
Build w/ext ELL - Configure PASS 8.98 seconds
Build w/ext ELL - Make PASS 85.72 seconds
Incremental Build w/ patches PASS 0.00 seconds
Scan Build PASS 521.12 seconds
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-22 13:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 11:42 [PATCH BlueZ] test/test-mesh: Fix python warning Jiaquan He
2022-08-22 13:29 ` [BlueZ] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox