diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-05-08 16:40:41 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-05-08 16:40:41 +0200 |
commit | f4acd7ab8d7afcdb6254a99b7e22ab85d6239b99 (patch) | |
tree | 8665008b48d0317fc9ca51ed9353fe54ceafa1d0 /gbp/git | |
parent | bd4398726ecd9b4363b95f9a0085e2ead85e5656 (diff) |
GitRepository: Use LC_ALL=C when checking features
This fixes the doctest and also makes sure we use an up to date manpage.
Thanks: Daniel Dehennin for the report
Diffstat (limited to 'gbp/git')
-rw-r--r-- | gbp/git/repository.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 740a3d0..ddabae5 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -190,6 +190,7 @@ class GitRepository(object): args = GitArgs(command, '-m') help, stderr, ret = self._git_inout('help', args.args, + extra_env={'LC_ALL': 'C'}, capture_stderr=True) if ret: raise GitRepositoryError("Invalid git command '%s': %s" |