1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-08 21:18:00 +03:00

refactorying some file names

This commit is contained in:
Adolfo Gómez García 2019-08-02 11:58:45 +02:00
parent 3588ea20f4
commit bbb6792961
5 changed files with 6 additions and 6 deletions

View File

@ -32,12 +32,12 @@ UDS os managers related interfaces and classes
.. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com
"""
from .BaseOsManager import OSManager
from .osmanager import OSManager
def factory():
"""
Returns factory for register/access to authenticators
"""
from .OSManagersFactory import OSManagersFactory
from .osmfactory import OSManagersFactory
return OSManagersFactory.factory()

View File

@ -56,7 +56,7 @@ class OSManager(Module):
"""
# Service informational related data
typeName = _('Base OS Manager')
typeType = 'BaseOSManager'
typeType = 'osmanager'
typeDescription = _('Base Manager')
iconFile = 'osmanager.png'

View File

@ -36,7 +36,7 @@ import typing
logger = logging.getLogger(__name__)
if typing.TYPE_CHECKING:
from .BaseOsManager import OSManager
from .osmanager import OSManager
class OSManagersFactory:
_factory: typing.Optional['OSManagersFactory'] = None

View File

@ -33,7 +33,7 @@
from __future__ import unicode_literals
from django.utils.translation import ugettext_noop as _
from uds.core.osmanagers.OSManagersFactory import OSManagersFactory
from uds.core.osmanagers.osmfactory import OSManagersFactory
from uds.core.managers.DownloadsManager import DownloadsManager
from uds.core import VERSION

View File

@ -33,7 +33,7 @@
"""
from django.utils.translation import ugettext_noop as _
from uds.core.osmanagers.OSManagersFactory import OSManagersFactory
from uds.core.osmanagers.osmfactory import OSManagersFactory
from uds.core.managers.DownloadsManager import DownloadsManager
from .WindowsOsManager import WindowsOsManager
from .WinDomainOsManager import WinDomainOsManager