feature: tweak if statement
This commit is contained in:
parent
0e08a98987
commit
3a8d727e1a
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class UserQuotaModel:
|
||||||
|
|
||||||
def formatted_user_max_repository_count_allowance(self) -> str:
|
def formatted_user_max_repository_count_allowance(self) -> str:
|
||||||
max_repos = self.user_max_repository_count_allowance
|
max_repos = self.user_max_repository_count_allowance
|
||||||
if max_repos is self.UNLIMITED:
|
if max_repos == self.UNLIMITED:
|
||||||
return "Unlimited"
|
return "Unlimited"
|
||||||
return str(max_repos)
|
return str(max_repos)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue