git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@201
ec8d2aa5-1599-4edb-8739-
2b3a1bc399aa
import re
import sys
import pprint
+import gettext
+import os.path
from LogRotateGetopts import LogrotateOptParser;
from LogRotateGetopts import LogrotateOptParserError;
#-----------------------------------------------------------------
def main():
+ basedir = os.path.realpath(os.path.dirname(sys.argv[0]))
+ #print "Basedir: %s" % ( basedir )
+
opt_parser = LogrotateOptParser(
prog = "logrotate",
version = __version__,
--- /dev/null
+encoding: UTF-8
+logrotate.py
+LogRotateGetopts.py