diff options
Diffstat (limited to 'src/python')
| -rw-r--r-- | src/python/lmi/providers/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/python/lmi/providers/__init__.py b/src/python/lmi/providers/__init__.py index 7aec342..9ee8376 100644 --- a/src/python/lmi/providers/__init__.py +++ b/src/python/lmi/providers/__init__.py @@ -23,7 +23,6 @@ Common utilities for OpenLMI python providers. """ import socket -from lmi.base.BaseConfiguration import BaseConfiguration def parse_instance_id(instance_id, classname=None): """ @@ -55,5 +54,4 @@ def is_this_system(system_name): :rtype: boolean """ return ( socket.gethostbyaddr(system_name)[0] - == socket.gethostbyaddr( - BaseConfiguration.INSTANCE.system_class_name)[0]) + == socket.gethostbyaddr(socket.gethostname())[0]) |
