We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cb3832 commit 9dcfe43Copy full SHA for 9dcfe43
scripts/manage_permissions.py
@@ -205,8 +205,8 @@ def list_apps(supplier_type: SupplierType) -> None:
205
return
206
207
def there_are_x_apps(app_count: int):
208
- is_are = "is" if app_count is 1 else "are"
209
- s = "" if app_count is 1 else "s"
+ is_are = "is" if app_count == 1 else "are"
+ s = "" if app_count == 1 else "s"
210
return f"There {is_are} {app_count} app{s}"
211
212
print(f"{there_are_x_apps(len(apps))} in the {nrl_env} env")
0 commit comments