1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

Some more refactoring done

This commit is contained in:
Adolfo Gómez 2012-07-27 12:13:05 +00:00
parent 99d0a0cc75
commit 2199904b50
6 changed files with 9 additions and 11 deletions

View File

@ -25,8 +25,6 @@ BaseModule
Environmentable Environmentable
--------------- ---------------
.. module:: uds.core.Environment
.. autoclass:: Environmentable .. autoclass:: Environmentable
:members: :members:
@ -34,8 +32,6 @@ Environmentable
Serializable Serializable
------------ ------------
.. module:: uds.core.Serializable
.. autoclass:: Serializable .. autoclass:: Serializable
:members: :members:

View File

@ -33,8 +33,8 @@
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
from uds.core.ui.UserInterface import UserInterface from uds.core.ui.UserInterface import UserInterface
from uds.core.Environment import Environmentable from uds.core import Environmentable
from uds.core.Serializable import Serializable from uds.core import Serializable
import base64, os.path, sys, logging import base64, os.path, sys, logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View File

@ -34,6 +34,8 @@ This package contains all core-related code for UDS
''' '''
# Core needs tasks manager to register scheduled jobs, so we ensure of that here # Core needs tasks manager to register scheduled jobs, so we ensure of that here
from Environment import Environmentable
from Serializable import Serializable
from BaseModule import Module from BaseModule import Module
import services import services
import auths import auths

View File

@ -30,8 +30,8 @@
''' '''
.. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com .. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com
''' '''
from uds.core.Environment import Environmentable from uds.core import Environmentable
from uds.core.Serializable import Serializable from uds.core import Serializable
from uds.core.util.State import State from uds.core.util.State import State
class UserDeployment(Environmentable, Serializable): class UserDeployment(Environmentable, Serializable):

View File

@ -30,8 +30,8 @@
''' '''
.. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com .. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com
''' '''
from uds.core.Environment import Environmentable from uds.core import Environmentable
from uds.core.Serializable import Serializable from uds.core import Serializable
class Publication(Environmentable, Serializable): class Publication(Environmentable, Serializable):
''' '''

View File

@ -33,7 +33,7 @@
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
from uds.core.util import OsDetector from uds.core.util import OsDetector
from uds.core.BaseModule import Module from uds.core import Module
class Transport(Module): class Transport(Module):
''' '''