Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:pending commit in: catalyst/targets/, catalyst/base/
Date: Tue, 01 Sep 2015 05:59:29
Message-Id: 1441086852.515546abb3859533a1a64a64253e661b19676b77.dolsen@gentoo
1 commit: 515546abb3859533a1a64a64253e661b19676b77
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 15 23:10:50 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 1 05:54:12 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=515546ab
7
8 Fix a couple print() uses back to print statements for consistency
9
10 catalyst/base/stagebase.py | 4 ++--
11 catalyst/targets/snapshot.py | 4 ++--
12 2 files changed, 4 insertions(+), 4 deletions(-)
13
14 diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
15 index c23c8b7..f4bed03 100644
16 --- a/catalyst/base/stagebase.py
17 +++ b/catalyst/base/stagebase.py
18 @@ -1279,8 +1279,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
19 target_filename = ".".join([self.settings["target_path"],
20 self.compressor.extension(pack_info['mode'])])
21
22 - print("Creating stage tarball... mode:",
23 - self.settings["compression_mode"])
24 + print "Creating stage tarball... mode:", \
25 + self.settings["compression_mode"]
26
27 if self.compressor.compress(pack_info):
28 self.gen_contents_file(target_filename)
29
30 diff --git a/catalyst/targets/snapshot.py b/catalyst/targets/snapshot.py
31 index ad96d37..1edcd02 100644
32 --- a/catalyst/targets/snapshot.py
33 +++ b/catalyst/targets/snapshot.py
34 @@ -72,11 +72,11 @@ class snapshot(TargetBase, GenBase):
35 auto_extension=True
36 )
37 if not compressor.compress(infodict):
38 - print("Snapshot compression failure")
39 + print "Snapshot compression failure"
40 else:
41 filename = '.'.join([self.settings["snapshot_path"],
42 compressor.extension(self.settings["compression_mode"])])
43 - print("COMPRESSOR success!!!! filename", filename)
44 + print "COMPRESSOR success!!!! filename", filename
45 self.gen_contents_file(filename)
46 self.gen_digest_file(filename)