gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-taler-build-scripts] 01/02: f-strings + writelines


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-build-scripts] 01/02: f-strings + writelines
Date: Fri, 04 Oct 2019 16:02:54 +0200

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

ng0 pushed a commit to branch master
in repository taler-build-scripts.

commit cadf5c69fbe8ff4b3aaafd0a9318c6237e250d49
Author: ng0 <address@hidden>
AuthorDate: Fri Oct 4 13:54:37 2019 +0000

    f-strings + writelines
---
 configure.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.py b/configure.py
index cb92e0d..35edac0 100644
--- a/configure.py
+++ b/configure.py
@@ -79,9 +79,9 @@ def main():
     myprefix = mylist[0]
     yarnexe = mylist[1]
     f = open('config.mk', 'w+')
-    f.write('# this file is autogenerated by ./configure\n')
-    f.write('prefix=' + myprefix + '\n')
-    f.write('yarnexe=' + yarnexe + '\n')
+    f.writelines(['# this file is autogenerated by ./configure\n',
+                  'prefix={myprefix}\n',
+                  'yarnexe={yarnexe}\n'])
     f.close()
 
 

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



reply via email to

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