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