Simulate main
function in Python
This commit is contained in:
parent
1f67e42b12
commit
f1923c79b4
@ -3,11 +3,9 @@
|
||||
#
|
||||
{fileheader}
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
def main(args):
|
||||
return 0
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
import sys
|
||||
sys.exit(main(sys.argv))
|
||||
|
Loading…
x
Reference in New Issue
Block a user