[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-build-common] 23/50: fix conditions
From: |
gnunet |
Subject: |
[taler-build-common] 23/50: fix conditions |
Date: |
Sat, 02 Nov 2019 16:38:42 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository build-common.
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.
- [taler-build-common] 19/50: fix prefix., (continued)
- [taler-build-common] 19/50: fix prefix., gnunet, 2019/11/02
- [taler-build-common] 14/50: fix node version check., gnunet, 2019/11/02
- [taler-build-common] 15/50: fix reference before assignment, gnunet, 2019/11/02
- [taler-build-common] 17/50: print, gnunet, 2019/11/02
- [taler-build-common] 12/50: actually make it f-strings., gnunet, 2019/11/02
- [taler-build-common] 18/50: attempt to fix argparse, gnunet, 2019/11/02
- [taler-build-common] 21/50: prefix, gnunet, 2019/11/02
- [taler-build-common] 07/50: env DEBUG shows log statements., gnunet, 2019/11/02
- [taler-build-common] 13/50: move most of the shell functionality to the python script., gnunet, 2019/11/02
- [taler-build-common] 20/50: debug logs., gnunet, 2019/11/02
- [taler-build-common] 23/50: fix conditions,
gnunet <=
- [taler-build-common] 24/50: fix output, gnunet, 2019/11/02
- [taler-build-common] 30/50: babel not bable, gnunet, 2019/11/02
- [taler-build-common] 22/50: maybe fix, gnunet, 2019/11/02
- [taler-build-common] 31/50: remove Makefile, gnunet, 2019/11/02
- [taler-build-common] 26/50: Merge branch 'master' of git.taler.net:taler-build-scripts, gnunet, 2019/11/02
- [taler-build-common] 34/50: template should not be executable, gnunet, 2019/11/02
- [taler-build-common] 36/50: allow configure.py to be simpler, gnunet, 2019/11/02
- [taler-build-common] 29/50: drop old imports, gnunet, 2019/11/02
- [taler-build-common] 40/50: syntax fix, gnunet, 2019/11/02
- [taler-build-common] 44/50: version check python., gnunet, 2019/11/02