sort out imports created by pywriter
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 13:26:01 +0000 (14:26 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 23 Apr 2021 13:26:01 +0000 (14:26 +0100)
src/openpower/decoder/pseudo/pywriter.py

index 7f3a2148fa0eac1793da396b2b8d8e592ddb1bfd..d2b6882af7faf0b7e3685999ca14422970c09afa 100644 (file)
@@ -114,7 +114,7 @@ class PyISAWriter(ISA):
 
         with open(fname, "w") as f:
             f.write('# auto-generated by pywriter.py: do not edit or commit\n')
-            f.write('from soc.decoder.isa.caller import ISACaller\n')
+            f.write('from openpower.decoder.isa.caller import ISACaller\n')
             for page in self.pages_written:
                 f.write('from openpower.decoder.isa.%s ' \
                         'import %s\n' % (page, page))