On 2018-09-04 13:10, christopher.goldsworthy wrote:
On Tuesday, 4 September 2018 03:36:05 UTC-4, Jan Kiszka  wrote:
On 2018-09-04 00:25, christopher.goldsworthy wrote:
On Sunday, 2 September 2018 11:19:49 UTC-4, Jan Kiszka  wrote:
On 2018-08-30 02:55, Christopher Goldsworthy wrote:
diff --git a/tools/jailhouse-hardware-check b/tools/jailhouse-hardware-check
index 1c7d1b9..a3009b0 100755
--- a/tools/jailhouse-hardware-check
+++ b/tools/jailhouse-hardware-check
@@ -17,6 +17,11 @@ import os
    import struct
    import sys
+sys.path[0] = os.path.dirname(os.path.abspath(__file__)) + "/.."
+import pyjailhouse.sysfs_parsers as sysfs_parser
                               ^^^^^^^
Untested...? ;)


Thanks
Jan

Of course it was tested :) . What seems incorrect?


The imported module - it does not exist ("parser", not "parsers").

Jan

Ah, sysfs_pasers.pyc was left in my pyjailhouse directory, leading
to the program working.  It would be good to make a rule for cleaning .pyc
files up.


clean-files += *.pyc

at the right places.

Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

--
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to