mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-01-28 09:09:02 +01:00
Allow using git-remote-hg as module
This commit is contained in:
@@ -1595,5 +1595,6 @@ def bye():
|
||||
if is_tmp:
|
||||
shutil.rmtree(dirname)
|
||||
|
||||
atexit.register(bye)
|
||||
sys.exit(main(sys.argv))
|
||||
if __name__ == '__main__':
|
||||
atexit.register(bye)
|
||||
sys.exit(main(sys.argv))
|
||||
|
||||
Reference in New Issue
Block a user