##// END OF EJS Templates
test-push-race: use 'ui.atexit' instead of python's 'atexit'...
Saurabh Singh -
r34508:30ae924a default
parent child Browse files
Show More
@@ -15,7 +15,6 b' A set of extension and shell functions e'
15 > Client with the extensions will create a file when ready and get stuck until
15 > Client with the extensions will create a file when ready and get stuck until
16 > a file is created."""
16 > a file is created."""
17 >
17 >
18 > import atexit
19 > import errno
18 > import errno
20 > import os
19 > import os
21 > import time
20 > import time
@@ -51,7 +50,7 b' A set of extension and shell functions e'
51 > except OSError as exc:
50 > except OSError as exc:
52 > if exc.errno != errno.ENOENT:
51 > if exc.errno != errno.ENOENT:
53 > raise
52 > raise
54 > atexit.register(delete)
53 > ui.atexit(delete)
55 > return orig(pushop)
54 > return orig(pushop)
56 >
55 >
57 > def uisetup(ui):
56 > def uisetup(ui):
General Comments 0
You need to be logged in to leave comments. Login now