fix PEP8 error

This commit is contained in:
bellwood 2016-07-15 17:09:22 -04:00 committed by GitHub
parent 02969d334f
commit b6d1819056

View File

@ -355,6 +355,8 @@ class Rack(CreatedUpdatedModel):
""" """
num_available_units = len(self.get_available_units(u_height=1, rack_face=None, exclude=list())) 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) return int(float(self.u_height - num_available_units) / self.u_height * 100)
# #
# Device Types # Device Types
# #