Show More
@@ -10,6 +10,7 b' from __future__ import absolute_import' | |||
|
10 | 10 | |
|
11 | 11 | from . import ( |
|
12 | 12 | error, |
|
13 | pycompat, | |
|
13 | 14 | util, |
|
14 | 15 | ) |
|
15 | 16 | |
@@ -92,7 +93,8 b' def batchable(f):' | |||
|
92 | 93 | if not encresref: |
|
93 | 94 | return encargsorres # a local result in this case |
|
94 | 95 | self = args[0] |
|
95 | encresref.set(self._submitone(f.__name__, encargsorres)) | |
|
96 | cmd = pycompat.bytesurl(f.__name__) # ensure cmd is ascii bytestr | |
|
97 | encresref.set(self._submitone(cmd, encargsorres)) | |
|
96 | 98 | return next(batchable) |
|
97 | 99 | setattr(plain, 'batchable', f) |
|
98 | 100 | return plain |
General Comments 0
You need to be logged in to leave comments.
Login now