gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-taler-build-scripts] branch master updated: fix cond


From: gnunet
Subject: [GNUnet-SVN] [taler-taler-build-scripts] branch master updated: fix conditions
Date: Sat, 05 Oct 2019 19:37:18 +0200

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

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

The following commit(s) were added to refs/heads/master by this push:
     new 71d72ae  fix conditions
71d72ae is described below

commit 71d72aec6e35709099bdd85f2eb69c37cc0c282d
Author: Florian Dold <address@hidden>
AuthorDate: Sat Oct 5 23:06:40 2019 +0530

    fix conditions
---
 configure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.py b/configure.py
index 0f12690..16bb8e7 100644
--- a/configure.py
+++ b/configure.py
@@ -61,7 +61,7 @@ def _tool_yarn():
         p2 = Popen(['grep', 'No such file or directory'], stdin=p1.stdout, 
stdout=subprocess.PIPE)
         p1.stdout.close()  # Allow p1 to receive a SIGPIPE if p2 exits
         output = p2.communicate()[0]
-        if output is b'':
+        if output is not b'':
             if _existence('cmdtest'):
                 print('WARNING: cmdtest is installed, this can lead\nto know 
issues with yarn.')
             sys.exit('ERROR: wrong yarn binary installed, please remove 
the\nconflicting binary before continuing.')
@@ -156,7 +156,7 @@ def main():
     print(_tool_node())
     posixlist = _tool_posix()
     for x in range(len(posixlist)):
-        if x is not '':
+        if x != '':
             print(posixlist[x] + "\n")
 
 

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



reply via email to

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