mercurial/commandserver.py
changeset 37995 6f9ac3cb0987
parent 37124 6715e8035b4f
child 38291 c07424ec633c
--- a/mercurial/commandserver.py	Fri May 11 21:23:48 2018 -0700
+++ b/mercurial/commandserver.py	Sat May 12 15:33:09 2018 +0900
@@ -256,7 +256,7 @@
                                self.cout, self.cerr)
 
         try:
-            ret = (dispatch.dispatch(req) or 0) & 255 # might return None
+            ret = dispatch.dispatch(req) & 255
             self.cresult.write(struct.pack('>i', int(ret)))
         finally:
             # restore old cwd