##// END OF EJS Templates
cmdserver, runcommand: properly handle the client sending no arguments...
Idan Kamara -
r14707:964a7203 stable
parent child Browse files
Show More
@@ -171,6 +171,9 class server(object):
171 and writes the return code to the result channel """
171 and writes the return code to the result channel """
172
172
173 length = struct.unpack('>I', self._read(4))[0]
173 length = struct.unpack('>I', self._read(4))[0]
174 if not length:
175 args = []
176 else:
174 args = self._read(length).split('\0')
177 args = self._read(length).split('\0')
175
178
176 # copy the ui so changes to it don't persist between requests
179 # copy the ui so changes to it don't persist between requests
General Comments 0
You need to be logged in to leave comments. Login now