commit: 07d13a24c6b28369c63c9cfcc955df6547300243 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> AuthorDate: Mon Jun 15 23:10:50 2015 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Thu Sep 3 15:12:39 2015 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=07d13a24
Fix a couple print() uses back to print statements for consistency catalyst/base/stagebase.py | 4 ++-- catalyst/targets/snapshot.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py index e0e9023..f774ce8 100644 --- a/catalyst/base/stagebase.py +++ b/catalyst/base/stagebase.py @@ -1308,8 +1308,8 @@ class StageBase(TargetBase, ClearBase, GenBase): target_filename = ".".join([self.settings["target_path"], self.compressor.extension(pack_info['mode'])]) - print("Creating stage tarball... mode:", - self.settings["compression_mode"]) + print "Creating stage tarball... mode:", \ + self.settings["compression_mode"] if self.compressor.compress(pack_info): self.gen_contents_file(target_filename) diff --git a/catalyst/targets/snapshot.py b/catalyst/targets/snapshot.py index ad96d37..1edcd02 100644 --- a/catalyst/targets/snapshot.py +++ b/catalyst/targets/snapshot.py @@ -72,11 +72,11 @@ class snapshot(TargetBase, GenBase): auto_extension=True ) if not compressor.compress(infodict): - print("Snapshot compression failure") + print "Snapshot compression failure" else: filename = '.'.join([self.settings["snapshot_path"], compressor.extension(self.settings["compression_mode"])]) - print("COMPRESSOR success!!!! filename", filename) + print "COMPRESSOR success!!!! filename", filename self.gen_contents_file(filename) self.gen_digest_file(filename)