From: Frank Brehm Date: Wed, 13 Apr 2011 21:01:36 +0000 (+0000) Subject: Initial X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=fd7f9baa55dacebf9ce587702015890b05ec38be;p=my-stuff%2Fpy-logrotate.git Initial git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@196 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- diff --git a/logrotate.py b/logrotate.py new file mode 100755 index 0000000..06ffde8 --- /dev/null +++ b/logrotate.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# $Id$ +# $URL$ + +''' +@author: Frank Brehm +@contact: frank@brehm-online.com +@license: GPL3 +@copyright: (c) 2010-2011 by Frank Brehm, Berlin +@version: 0.1.0 +@summary: rotates and compress system logs +''' + +import re + +revision = '$Revision$' +revision = re.sub( r'\$', '', revision ) +revision = re.sub( r'Revision: ', r'r', revision ) + +__author__ = 'Frank Brehm' +__copyright__ = '(C) 2011 by Frank Brehm, Berlin' +__contact__ = 'frank@brehm-online.com' +__version__ = '0.1.0 ' + revision +__license__ = 'GPL3' + + +#----------------------------------------------------------------- +def main(): + print "Lege los ..." + pass + +#======================================================================== + +if __name__ == "__main__": + main() + + +#======================================================================== + +# vim: fileencoding=utf-8 filetype=python ts=4 expandtab