rename a function, addresses #1

This commit is contained in:
Jan Dittberner 2008-08-23 19:24:45 +00:00
parent e3f58a88b7
commit 238f8136e5

View file

@ -44,7 +44,7 @@ def getfromfhpool(key, dirname, filename):
return FHPOOL[key][1]
def handlelogs(basedir, logfilename, inputdata):
def main(basedir, logfilename, inputdata):
"""
This function controls the input parsing process.
@ -79,4 +79,4 @@ if __name__ == '__main__':
if len(sys.argv) < 3:
usage()
sys.exit(1)
handlelogs(sys.argv[1], sys.argv[2], sys.stdin)
main(sys.argv[1], sys.argv[2], sys.stdin)