Mercurial > lcfOS
changeset 380:67a584582aee
Small change to hexfile
author | Windel Bouwman |
---|---|
date | Fri, 18 Apr 2014 13:08:45 +0200 |
parents | 78c27013f02e |
children | 6df89163e114 |
files | python/utils/hexfile.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/python/utils/hexfile.py Fri Apr 18 11:20:11 2014 +0200 +++ b/python/utils/hexfile.py Fri Apr 18 13:08:45 2014 +0200 @@ -84,10 +84,10 @@ size = sum(r.Size for r in self.regions) return 'Hexfile containing {} bytes'.format(size) - def dump(self): - print(self) + def dump(self, outf): + print(self,file=outf) for r in self.regions: - print(r) + print(r, file=outf) def __eq__(self, other): regions = self.regions