Fixed indentation
In some places, indentation was wrong. In this patchset, they are fixed. Change-Id: Ic66105d53b76cf53fbb4bc7bc19329b83b89687e
This commit is contained in:
@@ -185,7 +185,7 @@ class Action(base.WatcherObject):
|
|||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if (hasattr(self, base.get_attrname(field)) and
|
if (hasattr(self, base.get_attrname(field)) and
|
||||||
self[field] != current[field]):
|
self[field] != current[field]):
|
||||||
self[field] = current[field]
|
self[field] = current[field]
|
||||||
|
|
||||||
def soft_delete(self, context=None):
|
def soft_delete(self, context=None):
|
||||||
"""soft Delete the Audit from the DB.
|
"""soft Delete the Audit from the DB.
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ class ActionPlan(base.WatcherObject):
|
|||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if (hasattr(self, base.get_attrname(field)) and
|
if (hasattr(self, base.get_attrname(field)) and
|
||||||
self[field] != current[field]):
|
self[field] != current[field]):
|
||||||
self[field] = current[field]
|
self[field] = current[field]
|
||||||
|
|
||||||
def soft_delete(self, context=None):
|
def soft_delete(self, context=None):
|
||||||
"""Soft Delete the Action plan from the DB.
|
"""Soft Delete the Action plan from the DB.
|
||||||
|
|||||||
@@ -252,7 +252,7 @@ class Audit(base.WatcherObject):
|
|||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if (hasattr(self, base.get_attrname(field)) and
|
if (hasattr(self, base.get_attrname(field)) and
|
||||||
self[field] != current[field]):
|
self[field] != current[field]):
|
||||||
self[field] = current[field]
|
self[field] = current[field]
|
||||||
|
|
||||||
def soft_delete(self, context=None):
|
def soft_delete(self, context=None):
|
||||||
"""soft Delete the Audit from the DB.
|
"""soft Delete the Audit from the DB.
|
||||||
|
|||||||
@@ -258,7 +258,7 @@ class AuditTemplate(base.WatcherObject):
|
|||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if (hasattr(self, base.get_attrname(field)) and
|
if (hasattr(self, base.get_attrname(field)) and
|
||||||
self[field] != current[field]):
|
self[field] != current[field]):
|
||||||
self[field] = current[field]
|
self[field] = current[field]
|
||||||
|
|
||||||
def soft_delete(self, context=None):
|
def soft_delete(self, context=None):
|
||||||
"""soft Delete the :class:`AuditTemplate` from the DB.
|
"""soft Delete the :class:`AuditTemplate` from the DB.
|
||||||
|
|||||||
@@ -182,7 +182,7 @@ class EfficacyIndicator(base.WatcherObject):
|
|||||||
for field in self.fields:
|
for field in self.fields:
|
||||||
if (hasattr(self, base.get_attrname(field)) and
|
if (hasattr(self, base.get_attrname(field)) and
|
||||||
self[field] != current[field]):
|
self[field] != current[field]):
|
||||||
self[field] = current[field]
|
self[field] = current[field]
|
||||||
|
|
||||||
def soft_delete(self, context=None):
|
def soft_delete(self, context=None):
|
||||||
"""Soft Delete the efficacy indicator from the DB.
|
"""Soft Delete the efficacy indicator from the DB.
|
||||||
|
|||||||
Reference in New Issue
Block a user