Skip to content

Commit

Permalink
Use absolute import instead of relative import for Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
GeraldEV committed Sep 21, 2023
1 parent 6bbada1 commit fdfd316
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcp/bootloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import copy
from typing import cast

import branding # pytype: disable=import-error
import xcp.branding as branding

Check failure on line 33 in xcp/bootloader.py

View workflow job for this annotation

GitHub Actions / test (3.10, ubuntu-22.04)

pytype: import-error

Can't find module 'xcp.branding'. https://google.github.io/pytype/errors.html#import-error (you should find an entry in the pytype results with links below)

import xcp.cmd

Expand Down

0 comments on commit fdfd316

Please sign in to comment.