From 07188c9e86f83e2d0db0d122a227d8759cde8be2 Mon Sep 17 00:00:00 2001 From: dbh201 <47301809+dbh201@users.noreply.github.com> Date: Sat, 17 Sep 2022 05:10:57 +0200 Subject: [PATCH] userland-tools: fix python3.9 SyntaxWarning --- tools/bass-o-matic | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bass-o-matic b/tools/bass-o-matic index 6a59992..ab1a938 100755 --- a/tools/bass-o-matic +++ b/tools/bass-o-matic @@ -118,7 +118,7 @@ # Only 'openindiana' category. category = line.split('/')[0] - if category is 'openindiana': + if category == 'openindiana': continue filename = os.path.basename(line) @@ -131,10 +131,10 @@ # Add meta-packages/history only if we build the main repository, where # subdir is equal to 'components'. - if subdir is 'components': + if subdir == 'components': paths.append('meta-packages/history') # Add encumbered/meta-packages/history only if we build the encumbered repository - if subdir is 'components/encumbered': + if subdir == 'components/encumbered': paths.append('encumbered/meta-packages/history') paths = list(set(paths)) -- Gitblit v1.9.3