gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: set lang to C for test


From: gnunet
Subject: [gnunet] branch master updated: set lang to C for test
Date: Wed, 11 Dec 2019 11:57:22 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 80d8d9008 set lang to C for test
80d8d9008 is described below

commit 80d8d90087c63d4764dda384504d974f0d7dd6ed
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Wed Dec 11 11:54:14 2019 +0100

    set lang to C for test
---
 src/peerinfo-tool/test_gnunet_peerinfo.py.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/peerinfo-tool/test_gnunet_peerinfo.py.in 
b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
index 9a87d3649..e350a5beb 100755
--- a/src/peerinfo-tool/test_gnunet_peerinfo.py.in
+++ b/src/peerinfo-tool/test_gnunet_peerinfo.py.in
@@ -32,6 +32,10 @@ if gnunet_pyexpect_dir not in sys.path:
 
 from gnunet_pyexpect import pexpect
 
+#save LANG and set it to C
+mylang = os.environ['LANG']
+os.environ['LANG'] = 'en'
+
 if os.name == 'posix':
     peerinfo = './gnunet-peerinfo'
     gnunetarm = 'gnunet-arm'
@@ -134,3 +138,5 @@ finally:
         )
     else:
         shutil.rmtree("/tmp/gnunet-test-peerinfo", True)
+    #Reset LANG
+    os.environ['LANG'] = mylang

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]