mirror of https://github.com/tLDP/python-tldp
adding main() as entry point
This commit is contained in:
parent
95af3b8c71
commit
388215186e
|
@ -201,8 +201,11 @@ def run(argv):
|
||||||
|
|
||||||
return build(config, docs, inv)
|
return build(config, docs, inv)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
def main():
|
||||||
sys.exit(run(sys.argv[1:]))
|
sys.exit(run(sys.argv[1:]))
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
main()
|
||||||
|
|
||||||
#
|
#
|
||||||
# -- end of file
|
# -- end of file
|
||||||
|
|
Loading…
Reference in New Issue