-#! /usr/bin/env python
+#! /usr/bin/env python3
"""Dump the DB sorted by date
This file is a part of XSetBg.
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))