mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Use Python 3 way for printing
This commit is contained in:
parent
5eabcd8ee4
commit
353161ff19
1 changed files with 2 additions and 2 deletions
|
@ -48,8 +48,8 @@ def dpkg_post_invoke():
|
|||
chksum=_get_checksum(), mtime=_get_mtime()
|
||||
)
|
||||
)
|
||||
except (IOError, OSError) as e:
|
||||
sys.stderr.write("Unable to save the cookie file: {}\n".format(e))
|
||||
except OSError as e:
|
||||
print("Unable to save the cookie file: %s" % (e), file=sys.stderr)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Reference in a new issue