rename a function, addresses #1
This commit is contained in:
parent
e3f58a88b7
commit
238f8136e5
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue