changeset 43076 | 2372284d9457 |
parent 41494 | eb6700e6c5ea |
child 48966 | 6000f5b25c9b |
--- a/tests/svnurlof.py Sat Oct 05 10:29:34 2019 -0400 +++ b/tests/svnurlof.py Sun Oct 06 09:45:02 2019 -0400 @@ -6,6 +6,7 @@ util, ) + def main(argv): enc = util.urlreq.quote(pycompat.sysbytes(argv[1])) if pycompat.iswindows: @@ -14,5 +15,6 @@ fmt = 'file://%s' print(fmt % pycompat.sysstr(enc)) + if __name__ == '__main__': main(sys.argv)