diff options
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/lmi/__init__.py (renamed from src/python/openlmi/__init__.py) | 0 | ||||
-rw-r--r-- | src/python/lmi/common/IndicationManager.py (renamed from src/python/openlmi/common/IndicationManager.py) | 4 | ||||
-rw-r--r-- | src/python/lmi/common/JobManager.py (renamed from src/python/openlmi/common/JobManager.py) | 8 | ||||
-rw-r--r-- | src/python/lmi/common/TimerManager.py (renamed from src/python/openlmi/common/TimerManager.py) | 4 | ||||
-rw-r--r-- | src/python/lmi/common/__init__.py (renamed from src/python/openlmi/common/__init__.py) | 0 | ||||
-rw-r--r-- | src/python/lmi/common/cmpi_logging.py (renamed from src/python/openlmi/common/cmpi_logging.py) | 2 | ||||
-rw-r--r-- | src/python/lmi/common/singletonmixin.py (renamed from src/python/openlmi/common/singletonmixin.py) | 0 | ||||
-rw-r--r-- | src/python/setup.py | 8 |
8 files changed, 13 insertions, 13 deletions
diff --git a/src/python/openlmi/__init__.py b/src/python/lmi/__init__.py index de40ea7..de40ea7 100644 --- a/src/python/openlmi/__init__.py +++ b/src/python/lmi/__init__.py diff --git a/src/python/openlmi/common/IndicationManager.py b/src/python/lmi/common/IndicationManager.py index f9a1655..0467227 100644 --- a/src/python/openlmi/common/IndicationManager.py +++ b/src/python/lmi/common/IndicationManager.py @@ -28,8 +28,8 @@ import re import socket import threading -import openlmi.common.cmpi_logging as cmpi_logging -from openlmi.common import singletonmixin +import lmi.common.cmpi_logging as cmpi_logging +from lmi.common import singletonmixin RE_FILTER_NAME = re.compile(r'^(?P<prefix>lmi:' r'(?P<class_name>[a-z0-9_]+):)(?P<filter_id>.*)$', re.IGNORECASE) diff --git a/src/python/openlmi/common/JobManager.py b/src/python/lmi/common/JobManager.py index 9f977c9..59e80e3 100644 --- a/src/python/openlmi/common/JobManager.py +++ b/src/python/lmi/common/JobManager.py @@ -46,9 +46,9 @@ from datetime import datetime, timedelta import threading from Queue import Queue import pywbem -import openlmi.common.cmpi_logging as cmpi_logging -import openlmi.common -from openlmi.common.IndicationManager import IndicationManager +import lmi.common.cmpi_logging as cmpi_logging +import lmi.common +from lmi.common.IndicationManager import IndicationManager from pywbem.cim_provider2 import CIMProvider2 import socket import traceback @@ -846,7 +846,7 @@ class JobManager(object): """ if classname is None: classname = self.job_classname - the_id = openlmi.common.parse_instance_id(instance_id, classname) + the_id = lmi.common.parse_instance_id(instance_id, classname) if not the_id.isdigit(): return None return self.jobs.get(the_id, None) diff --git a/src/python/openlmi/common/TimerManager.py b/src/python/lmi/common/TimerManager.py index 42d48cd..01e53b8 100644 --- a/src/python/openlmi/common/TimerManager.py +++ b/src/python/lmi/common/TimerManager.py @@ -50,10 +50,10 @@ it may be already being scheduled / called. """ import ctypes -import openlmi.common.singletonmixin as singletonmixin +import lmi.common.singletonmixin as singletonmixin import threading import Queue -import openlmi.common.cmpi_logging as cmpi_logging +import lmi.common.cmpi_logging as cmpi_logging class TimerException(Exception): pass diff --git a/src/python/openlmi/common/__init__.py b/src/python/lmi/common/__init__.py index baebcdb..baebcdb 100644 --- a/src/python/openlmi/common/__init__.py +++ b/src/python/lmi/common/__init__.py diff --git a/src/python/openlmi/common/cmpi_logging.py b/src/python/lmi/common/cmpi_logging.py index d9fb5e8..a97e4ab 100644 --- a/src/python/openlmi/common/cmpi_logging.py +++ b/src/python/lmi/common/cmpi_logging.py @@ -132,7 +132,7 @@ class LogManager(object): FORMAT_STDERR = '%(levelname)s: %(message)s' FORMAT_CMPI = '%(levelname)s: %(message)s' - LOGGER_NAME = "openlmi.storage" + LOGGER_NAME = "lmi.storage" def __init__(self, env): """ diff --git a/src/python/openlmi/common/singletonmixin.py b/src/python/lmi/common/singletonmixin.py index c252676..c252676 100644 --- a/src/python/openlmi/common/singletonmixin.py +++ b/src/python/lmi/common/singletonmixin.py diff --git a/src/python/setup.py b/src/python/setup.py index 9d4ef7c..b36d455 100644 --- a/src/python/setup.py +++ b/src/python/setup.py @@ -1,13 +1,13 @@ from setuptools import setup setup( - name='openlmi', + name='lmi', description='OpenLMI python providers', author='Michal Minar', author_email='miminar@redhat.com', url='https://fedorahosted.org/openlmi/', - version='0.2', - namespace_packages = ['openlmi'], - packages = ['openlmi', 'openlmi.common'], + version='0.3', + namespace_packages = ['lmi'], + packages = ['lmi', 'lmi.common'], classifiers=[ 'license :: osi approved :: gnu lesser general public license v2 or later (lgplv2+)', 'operating system :: posix :: linux', |