From 977341d4a99ea2870deba861adbe2d0e3318174d Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 7 Apr 2018 15:15:00 +0200 Subject: Allow usage of path with special characters with sync command (mag#73) --- MgaRepo/util.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MgaRepo/util.py') diff --git a/MgaRepo/util.py b/MgaRepo/util.py index 538eae8..6d31399 100644 --- a/MgaRepo/util.py +++ b/MgaRepo/util.py @@ -35,6 +35,8 @@ def execcmd(*cmd, **kwargs): verbose = config.getbool("global", "verbose", 0) if kwargs.get('info') : prefix='LANGUAGE=C LC_TIME=C ' + elif kwargs.get('noprefix') : + prefix = '' else: prefix='LANG=C LANGUAGE=C LC_ALL=C ' if verbose: -- cgit v1.2.1