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:
parent
3588ea20f4
commit
bbb6792961
@ -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()
|
||||
|
@ -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'
|
||||
|
@ -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
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user