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

@ -1338,7 +1338,7 @@ class Live(JoinedWithOneDeviceMixin, ActionWithOneDevice):
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"""
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):