956
963
def apply_lsprofiled(filename, the_callable, *args, **kwargs):
957
964
from bzrlib.lsprof import profile
958
ret, stats = profile(exception_to_return_code, the_callable,
965
ret, stats = profile(exception_to_return_code, the_callable, *args, **kwargs)
969
980
def get_alias(cmd, config=None):
970
981
"""Return an expanded alias, or None if no alias exists.