From: Waldemar Kozaczuk <[email protected]>
Committer: Waldemar Kozaczuk <[email protected]>
Branch: master

module.py: replace "is" literal with "==" to make Python 3.8 happy

Signed-off-by: Waldemar Kozaczuk <[email protected]>

---
diff --git a/scripts/module.py b/scripts/module.py
--- a/scripts/module.py
+++ b/scripts/module.py
@@ -110,7 +110,7 @@ def make_cmd(cmdline, j, jobserver):
     ret = 'make ' + cmdline
     if jobserver is not None:
         ret += ' -j --jobserver-fds=' + jobserver
-    elif j is '-':
+    elif j == '-':
         ret += ' -j'
     elif j is not None:
         ret += ' -j' + j

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osv-dev/00000000000034706605a54d20f8%40google.com.

Reply via email to