Merge "Make comparision simplely"
This commit is contained in:
commit
3382a0e80e
@ -163,8 +163,7 @@ class ContainerController(Controller):
|
|||||||
self.account_info(self.account_name, req)
|
self.account_info(self.account_name, req)
|
||||||
if not accounts:
|
if not accounts:
|
||||||
return HTTPNotFound(request=req)
|
return HTTPNotFound(request=req)
|
||||||
if self.app.max_containers_per_account > 0 and \
|
if 0 < self.app.max_containers_per_account <= container_count and \
|
||||||
container_count >= self.app.max_containers_per_account and \
|
|
||||||
self.account_name not in self.app.max_containers_whitelist:
|
self.account_name not in self.app.max_containers_whitelist:
|
||||||
container_info = \
|
container_info = \
|
||||||
self.container_info(self.account_name, self.container_name,
|
self.container_info(self.account_name, self.container_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user