Codebase list ohcount / debian/latest test / detect_files / py_script
debian/latest

Tree @debian/latest (Download .tar.gz)

py_script @debian/latestraw · history · blame

#!/usr/bin/env python
# vim:fileencoding=utf8
# Note both python and vim understand the above encoding declaration

"""
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 See the GNU General Public License for more details,
 which is available at www.gnu.org
"""

import gettext
import locale

import os, sys, time, stat

try:
    True, False
except NameError:
    True, False = 1, 0