commit:     c20b67e5479047a21b889ab59a33fd03cedb988c
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 22 18:21:52 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Fri Jan 22 18:22:28 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=c20b67e5

repoman: Fix some missed print_function imports causing () to be printed.

 pym/repoman/_xml.py                  | 2 ++
 pym/repoman/checks/ebuilds/misc.py   | 2 ++
 pym/repoman/checks/herds/herdbase.py | 2 +-
 pym/repoman/errors.py                | 2 ++
 pym/repoman/metadata.py              | 2 ++
 5 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/pym/repoman/_xml.py b/pym/repoman/_xml.py
index 43fc930..2661f14 100644
--- a/pym/repoman/_xml.py
+++ b/pym/repoman/_xml.py
@@ -1,5 +1,7 @@
 # -*- coding:utf-8 -*-
 
+from __future__ import print_function, unicode_literals
+
 import sys
 import xml
 

diff --git a/pym/repoman/checks/ebuilds/misc.py 
b/pym/repoman/checks/ebuilds/misc.py
index e2bef34..d13cef6 100644
--- a/pym/repoman/checks/ebuilds/misc.py
+++ b/pym/repoman/checks/ebuilds/misc.py
@@ -3,6 +3,8 @@
 '''repoman/checks/ebuilds/misc.py
 Miscelaneous ebuild check functions'''
 
+from __future__ import print_function, unicode_literals
+
 import re
 
 # import our initialized portage instance

diff --git a/pym/repoman/checks/herds/herdbase.py 
b/pym/repoman/checks/herds/herdbase.py
index cfa37e4..d38d2e3 100644
--- a/pym/repoman/checks/herds/herdbase.py
+++ b/pym/repoman/checks/herds/herdbase.py
@@ -3,7 +3,7 @@
 # Copyright 2010-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2 or later
 
-from __future__ import unicode_literals
+from __future__ import print_function, unicode_literals
 
 import errno
 import xml.etree.ElementTree

diff --git a/pym/repoman/errors.py b/pym/repoman/errors.py
index 2ea4680..9cf113b 100644
--- a/pym/repoman/errors.py
+++ b/pym/repoman/errors.py
@@ -1,5 +1,7 @@
 # -*- coding:utf-8 -*-
 
+from __future__ import print_function, unicode_literals
+
 import sys
 
 

diff --git a/pym/repoman/metadata.py b/pym/repoman/metadata.py
index 70c07a8..f1fa53a 100644
--- a/pym/repoman/metadata.py
+++ b/pym/repoman/metadata.py
@@ -1,5 +1,7 @@
 # -*- coding:utf-8 -*-
 
+from __future__ import print_function, unicode_literals
+
 import errno
 import logging
 import sys

Reply via email to