changeset 40295 | fa88170c10bb |
parent 40214 | b456b2e0ad9f |
child 40349 | 1524c305377f |
--- a/contrib/perf.py Fri Oct 12 18:06:32 2018 +0200 +++ b/contrib/perf.py Fri Oct 12 18:49:11 2018 +0200 @@ -152,7 +152,7 @@ # define parsealiases locally, because cmdutil.parsealiases has been # available since 1.5 (or 6252852b4332) def parsealiases(cmd): - return cmd.lstrip(b"^").split(b"|") + return cmd.split(b"|") if safehasattr(registrar, 'command'): command = registrar.command(cmdtable)