diff options
author | Papoteur <papoteur@mageia.org> | 2018-04-07 15:15:00 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-04-23 14:53:51 +0200 |
commit | 977341d4a99ea2870deba861adbe2d0e3318174d (patch) | |
tree | e2a149da0379ee82d72de8541d103de348af962b /MgaRepo/util.py | |
parent | 2ce962b65821b04583cad02c700b1342f0e38273 (diff) | |
download | mgarepo-977341d4a99ea2870deba861adbe2d0e3318174d.tar mgarepo-977341d4a99ea2870deba861adbe2d0e3318174d.tar.gz mgarepo-977341d4a99ea2870deba861adbe2d0e3318174d.tar.bz2 mgarepo-977341d4a99ea2870deba861adbe2d0e3318174d.tar.xz mgarepo-977341d4a99ea2870deba861adbe2d0e3318174d.zip |
Allow usage of path with special characters with sync command (mag#73)
Diffstat (limited to 'MgaRepo/util.py')
-rw-r--r-- | MgaRepo/util.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |