mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
test/py: Make print statements python 3.x safe
In python 3.x print must be called as a function rather than used as a statement. Update uses of print to the function call syntax in order to be python 3.x safe. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -41,7 +41,7 @@ class ConsoleSandbox(ConsoleBase):
|
||||
bcfg = self.config.buildconfig
|
||||
config_spl = bcfg.get('config_spl', 'n') == 'y'
|
||||
fname = '/spl/u-boot-spl' if config_spl else '/u-boot'
|
||||
print fname
|
||||
print(fname)
|
||||
cmd = []
|
||||
if self.config.gdbserver:
|
||||
cmd += ['gdbserver', self.config.gdbserver]
|
||||
|
Reference in New Issue
Block a user