From 778d0abde846c75deba123796ed633788927ccf8 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 28 Jul 2015 12:54:20 +0300 Subject: [PATCH] Remove print_all.py --- print_all.py | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 print_all.py diff --git a/print_all.py b/print_all.py deleted file mode 100755 index e03ac4e..0000000 --- a/print_all.py +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env python -"""Print shown files sorted by date - -This file is a part of XSetBg. - -""" - -__author__ = "Oleg Broytman " -__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 - -if not xsetbg_db: - sys.exit("Error: no database found") - -for row in xsetbg_db.select('last_shown IS NOT NULL', orderBy='-last_shown'): - print row.full_name.encode(default_encoding) -- 2.39.2