mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
PEP8 / whitespace, blah
This commit is contained in:
parent
de1e8a70dd
commit
8762c738fd
@ -355,8 +355,8 @@ class Rack(CreatedUpdatedModel):
|
||||
"""
|
||||
num_available_units = len(self.get_available_units(u_height=1, rack_face=None, exclude=list()))
|
||||
return int(float(self.u_height - num_available_units) / self.u_height * 100)
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Device Types
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user