Merge remote-tracking branch 'origin/v1.9'

This commit is contained in:
Adolfo Gómez García 2016-03-19 02:30:34 +01:00
commit 8a285fddfa
2 changed files with 4 additions and 8 deletions

View File

@ -42,7 +42,7 @@ from uds.models import User
from uds.web import errors
from uds.core.managers import cryptoManager, userServiceManager
from uds.core.util.Config import GlobalConfig
from uds.core.services.Exceptions import ServiceNotReadyError, ServiceAccessDeniedByCalendar, ServiceInMaintenanceMode
from uds.core.services.Exceptions import ServiceNotReadyError
from uds.core import VERSION as UDS_VERSION
import six
@ -147,10 +147,6 @@ class Client(Handler):
# Refresh ticket and make this retrayable
TicketStore.revalidate(ticket, 20) # Retry will be in at most 5 seconds
return Client.result(error=errors.SERVICE_IN_PREPARATION, errorCode=e.code, retryable=True)
except ServiceAccessDeniedByCalendar:
return Client.result(error=errors.SERVICE_CALENDAR_DENIED)
except ServiceInMaintenanceMode:
return Client.result(error=errors.SERVICE_IN_MAINTENANCE)
except Exception as e:
logger.exception("Exception")
return Client.result(error=six.text_type(e))

View File

@ -38,8 +38,8 @@ from __future__ import unicode_literals
from uds.core.Environment import Environmentable
from uds.core.Serializable import Serializable
from uds.core.BaseModule import Module
# from uds.core import services
# from uds.core import auths
# from uds.core import transports
from uds.core import services
from uds.core import auths
from uds.core import transports
VERSION = '2.0.0'