# HG changeset patch # User Chris # Date 1473800945 18000 # Node ID 996d64681e5518b06b316cae36e3e506ecd2a157 # Parent ed22ce1f3057800e517390656fa517b5e413f35a I fixed my deployed `hg-prompt` thinking I had done it in the version I pushed to bitbucket. I only noticed it because I had to reinstall. :/ diff -r ed22ce1f3057 -r 996d64681e55 prompt.py --- a/prompt.py Fri Jul 01 17:52:18 2016 -0500 +++ b/prompt.py Tue Sep 13 16:09:05 2016 -0500 @@ -68,7 +68,7 @@ c_tmp = cache + '.temp' devnull = 'NUL:' if subprocess.mswindows else os.devnull - spawn = lambda fn: fn() if subprocess.mswindows else _daemon_spawn + spawn = lambda fn: fn() if subprocess.mswindows else _daemon_spawn (fn) def _update_cache(): # This is kind of a hack and I feel a little bit dirty for doing it. @@ -83,7 +83,7 @@ # Spawn the update in a daemon process so it doesn't slow # down the prompt return. spawn (_update_cache) - return + def _with_groups(groups, out): out_groups = [groups[0]] + [groups[-1]]