From ddf79169973aa14d7ba96deadcf39edd51475363 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Thu, 24 Mar 2016 21:32:44 +0100 Subject: add svn log command in list of command not to prefix with LC_ALL=C (mga#73) --- MgaRepo/svn.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'MgaRepo/svn.py') diff --git a/MgaRepo/svn.py b/MgaRepo/svn.py index 1bad552..74f47a3 100644 --- a/MgaRepo/svn.py +++ b/MgaRepo/svn.py @@ -39,14 +39,10 @@ class SVN: svn_command = config.get("global", "svn-command", "svn") cmdstr = svn_command + " " + " ".join(args) try: - if args[0] == 'info': + if args[0] in ('info', 'checkout','log'): kwargs['info'] = True else: kwargs['info'] = False - if args[0] == 'checkout': - kwargs['checkout'] = True - else: - kwargs['checkout'] = False return execcmd(cmdstr, **kwargs) except Error as e: msg = None -- cgit v1.2.1