Skip to contentSkip to conversation

master - lvmdbusd: Set locale

PATCH tasleson 1 participant 1 message Mar 4, 2016

lore
Share & tools
lore

tasleson

author
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=6c781751261a6e75f8e3e63f5efbecf467d63476
Commit:        6c781751261a6e75f8e3e63f5efbecf467d63476
Parent:        f94fe2c91fc995e2d57f7689f01d8d15d72858cc
Author:        Tony Asleson <[email protected]>
AuthorDate:    Fri Mar 4 10:13:04 2016 -0600
Committer:     Tony Asleson <[email protected]>
CommitterDate: Fri Mar 4 10:13:04 2016 -0600

lvmdbusd: Set locale

---
 daemons/lvmdbusd/main.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
daemons/lvmdbusd/main.py +3 -0
index 6cabcc4..92006d0 100644
@@ -103,6 +103,9 @@ def main():
 
 	use_session = os.getenv('LVMDBUSD_USE_SESSION', False)
 
+	# Ensure that we get consistent output for parsing stdout/stderr
+	os.environ["LC_ALL"] = "C"
+
 	args = parser.parse_args()
 
 	cfg.DEBUG = args.debug