Skip to content

Commit a675d1f

Browse files
rohiebEmantor
authored andcommitted
linux: make sure ExecutionError is defined
ExecutionError is used all over the place in this file, but python is not happy about it: > except ExecutionError: E NameError: name 'ExecutionError' is not defined labgridhelper/labgridhelper/linux.py:173: NameError Fixes: fcdeab4 (2019-02-27, "linux: add helpers from InfoDriver") Signed-off-by: Roland Hieber <[email protected]>
1 parent 4df0dbd commit a675d1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

labgridhelper/linux.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
from labgrid.protocol import CommandProtocol
2+
from labgrid.driver import ExecutionError
3+
24
import json
35
import re
46

0 commit comments

Comments
 (0)