summaryrefslogtreecommitdiffstats
path: root/layman/dbbase.py
diff options
context:
space:
mode:
Diffstat (limited to 'layman/dbbase.py')
-rw-r--r--layman/dbbase.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/layman/dbbase.py b/layman/dbbase.py
index 776a90f..02aeb9d 100644
--- a/layman/dbbase.py
+++ b/layman/dbbase.py
@@ -20,6 +20,8 @@
#
'''Main handler for overlays.'''
+from __future__ import print_function
+
__version__ = "$Id: overlay.py 273 2006-12-30 15:54:50Z wrobel $"
#===============================================================================
@@ -240,7 +242,7 @@ class DbBase:
>>> config = {'svn_command': '/usr/bin/svn', 'rsync_command':'/usr/bin/rsync'}
>>> a = DbBase([here + '/tests/testfiles/global-overlays.xml', ], config)
>>> for i in a.list(True):
- ... print i[0]
+ ... print(i[0])
wrobel
~~~~~~
Source : https://overlays.gentoo.org/svn/dev/wrobel
@@ -263,7 +265,7 @@ class DbBase:
<BLANKLINE>
>>> for i in a.list(False, 80):
- ... print i[0]
+ ... print(i[0])
wrobel [Subversion] (https://o.g.o/svn/dev/wrobel )
wrobel-stable [Rsync ] (rsync://gunnarwrobel.de/wrobel-stable)
'''