"""
-__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2006-2015 PhiloSoft Design"
-__license__ = "GNU GPL"
-
import sys
from m_lib.defenc import default_encoding
from xsetbg_db import xsetbg_db
sys.exit("Error: no database found")
for row in xsetbg_db.select(orderBy='-last_shown'):
- print row.id, row.last_shown, row.full_name.encode(default_encoding)
+ print(row.id, row.last_shown, row.full_name.encode(default_encoding))