Avoid using print().
The print() notation makes syntax checkers go crazy for some reason (notably when Syntastic tries to validate Python 3 code with /usr/bin/python), so switch to a syntax that is slightly more Python 2-friendly. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
parent
e514e62747
commit
17b3afb3cf
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ class SHA256TransactionStore(TransactionStore):
|
|||
if "w" in self._mode:
|
||||
result = self._hash_file(self._filename)
|
||||
fp = open(self._filename + ".checksum", "w")
|
||||
print(result, file=fp)
|
||||
fp.write(result + "\n")
|
||||
fp.close()
|
||||
|
||||
class FileFormat:
|
||||
|
|
|
|||
Loading…
Reference in a new issue