# HG changeset patch # User Marcin Kuzminski # Date 2012-06-21 15:51:01 # Node ID 044c31d67ccc698b18e3678334730971b81890f5 # Parent 94ef0b609d17f618317d715f24d0efcac72fe4a4 make get_action always return action diff --git a/rhodecode/lib/middleware/simplehg.py b/rhodecode/lib/middleware/simplehg.py --- a/rhodecode/lib/middleware/simplehg.py +++ b/rhodecode/lib/middleware/simplehg.py @@ -223,8 +223,8 @@ class SimpleHg(BaseVCSController): cmd = qry.split('=')[-1] if cmd in mapping: return mapping[cmd] - else: - return 'pull' + + return 'pull' def __inject_extras(self, repo_path, baseui, extras={}): """