1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-10 01:17:59 +03:00

* A couple of cosmetic changes :-)

This commit is contained in:
Adolfo Gómez 2013-09-11 13:26:31 +00:00
parent 46990f6b64
commit f220cf3651
2 changed files with 2 additions and 3 deletions

View File

@ -60,7 +60,7 @@ class PublicationOldMachinesCleaner(DelayedTask):
dsp.deployed_service.userServices.filter(in_use=True).update(in_use=False, state_date=now)
dsp.deployed_service.markOldUserServicesAsRemovables(activePub)
except:
logger.info("Delayed task for {0} not executed because delayed task is already removed")
logger.info("Machine removal for {0} not executed because publication is already removed")
# Removed provider, no problem at all, no update is done
pass

View File

@ -34,11 +34,10 @@ from __future__ import unicode_literals
from uds.core.managers.PublicationManager import PublicationManager
from uds.core.util.Config import GlobalConfig
from uds.models import DeployedServicePublication, DeployedService, getSqlDatetime
from uds.models import DeployedServicePublication, getSqlDatetime
from uds.core.services.Exceptions import PublishException
from uds.core.util.State import State
from uds.core.jobs import Job
from uds.core.jobs import DelayedTask
from datetime import timedelta
import logging