From: Frank Brehm Date: Mon, 5 Dec 2011 22:35:53 +0000 (+0100) Subject: Subversion Tags entfernt, .gitignore dazu X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=cc4f308c11defc58d007021efa5b7195bc5c3ea5;p=my-stuff%2Fpy-logrotate.git Subversion Tags entfernt, .gitignore dazu --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..294dc32 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ + +build +dist +logrotate.status +MANIFEST + +po/de_DE +po/*.mo + +po/de/LC_MESSAGES/*.mo + +test/log +test/apache2.1 +test/*.tgz diff --git a/LogRotate/Common.py b/LogRotate/Common.py index dbb3bc4..28b0a90 100755 --- a/LogRotate/Common.py +++ b/LogRotate/Common.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -27,15 +24,10 @@ import email.utils # Own modules -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.1.0 ' + revision +__version__ = '0.1.0' __license__ = 'GPL3' diff --git a/LogRotate/Config.py b/LogRotate/Config.py index 2fe765e..917d4b1 100755 --- a/LogRotate/Config.py +++ b/LogRotate/Config.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -39,15 +36,10 @@ from LogRotate.Common import split_parts, email_valid, period2days from LogRotate.Common import human2bytes, get_address_list from LogRotate.Script import LogRotateScript -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.1.2 ' + revision +__version__ = '0.1.2' __license__ = 'GPL3' diff --git a/LogRotate/Getopts.py b/LogRotate/Getopts.py index 386dcf8..b76938e 100755 --- a/LogRotate/Getopts.py +++ b/LogRotate/Getopts.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -35,15 +32,10 @@ except ImportError: from LogRotate.Common import to_unicode_or_bust -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.0.1 ' + revision +__version__ = '0.0.1' __license__ = 'GPL3' diff --git a/LogRotate/Handler.py b/LogRotate/Handler.py index 0dee8c8..a10cc2b 100755 --- a/LogRotate/Handler.py +++ b/LogRotate/Handler.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -54,15 +51,10 @@ from LogRotate.StatusFile import LogrotateStatusFile from LogRotate.Mailer import LogRotateMailerError from LogRotate.Mailer import LogRotateMailer -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.4.0 ' + revision +__version__ = '0.4.0' __license__ = 'GPL3' utc = pytz.utc diff --git a/LogRotate/Mailer.py b/LogRotate/Mailer.py index 430586e..e77c8b8 100755 --- a/LogRotate/Mailer.py +++ b/LogRotate/Mailer.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -53,15 +50,10 @@ except ImportError: from LogRotate.Common import email_valid -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.1.0 ' + revision +__version__ = '0.1.0' __license__ = 'GPL3' #======================================================================== diff --git a/LogRotate/Script.py b/LogRotate/Script.py index 1cc4174..cd5118a 100755 --- a/LogRotate/Script.py +++ b/LogRotate/Script.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -25,15 +22,10 @@ import gettext # Own modules -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.1.0 ' + revision +__version__ = '0.1.0' __license__ = 'GPL3' #======================================================================== diff --git a/LogRotate/StatusFile.py b/LogRotate/StatusFile.py index 3afa01c..6d3b1dc 100755 --- a/LogRotate/StatusFile.py +++ b/LogRotate/StatusFile.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -36,15 +33,10 @@ except ImportError: from LogRotate.Common import split_parts -revision = '$Revision$' -revision = re.sub( r'\$', '', revision ) -revision = re.sub( r'Revision: ', r'r', revision ) -revision = re.sub( r'\s*$', '', revision ) - __author__ = 'Frank Brehm' __copyright__ = '(C) 2011 by Frank Brehm, Berlin' __contact__ = 'frank@brehm-online.com' -__version__ = '0.1.0 ' + revision +__version__ = '0.1.0' __license__ = 'GPL3' utc = pytz.utc diff --git a/logrotate.py b/logrotate.py index 2d4e1e9..fbc8f15 100755 --- a/logrotate.py +++ b/logrotate.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com @@ -33,14 +30,10 @@ from LogRotate.Handler import LogrotateHandlerError import LogRotate.Common -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.6.0 ' + revision +__version__ = '0.6.0' __license__ = 'GPL3' diff --git a/setup.py b/setup.py index 9c1b47f..d2c072d 100755 --- a/setup.py +++ b/setup.py @@ -1,9 +1,6 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -# $Id$ -# $URL$ - ''' @author: Frank Brehm @contact: frank@brehm-online.com