fixed comments

This commit is contained in:
Cayo Puigdefabregas 2020-12-04 19:33:05 +01:00
parent 7e41c66073
commit 835f875e2e
2 changed files with 3 additions and 3 deletions

View file

@ -1337,8 +1337,8 @@ class Live(JoinedWithOneDeviceMixin, ActionWithOneDevice):
self.actions.reverse()
def last_usage_time_allocate(self):
"""If we don't have self.usage_time_hdd then we need search the last
usage_time_allocate valid"""
"""If we don't have self.usage_time_hdd then we need search the last
action Live with usage_time_allocate valid"""
for e in self.actions:
if isinstance(e, Live) and e.created < self.created:
if not e.usage_time_allocate:

View file

@ -267,7 +267,7 @@ class ActionView(View):
live.sort_actions()
diff_time = live.diff_time()
if diff_time is None:
warning = "Don't exist one previus live or snapshot as reference"
warning = "Don't exist one previous live or snapshot as reference"
live.description += warning
live.severity = Severity.Warning
elif diff_time < timedelta(0):