HomePhabricator

dispatch: unify handling of None returned by a command function

Authored by yuja.

Description

dispatch: unify handling of None returned by a command function

A command function may return None in place of 0 just for convenience, but
dispatch() doesn't need to inherit that property. This patch makes it be
friendly to callers.

Details

Committed
yujaMay 12 2018, 2:33 AM
Parents
rHGe9c588802529: dispatch: minor code refactor
Branches
Unknown
Tags
Unknown