diff options
Diffstat (limited to 'src/software/openlmi/software/util')
-rw-r--r-- | src/software/openlmi/software/util/__init__.py | 4 | ||||
-rw-r--r-- | src/software/openlmi/software/util/singletonmixin.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/software/openlmi/software/util/__init__.py b/src/software/openlmi/software/util/__init__.py index 5aa19b8..f42f25a 100644 --- a/src/software/openlmi/software/util/__init__.py +++ b/src/software/openlmi/software/util/__init__.py @@ -1,7 +1,7 @@ # -*- encoding: utf-8 -*- # Software Management Providers # -# Copyright (C) 2013 Red Hat, Inc. All rights reserved. +# Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -57,7 +57,7 @@ def get_target_operating_system(): of CIM_SoftwareElement class and text is its testual representation. """ - system = platform.system() + system = platform.system() if system.lower() == 'linux': try: val, dist = \ diff --git a/src/software/openlmi/software/util/singletonmixin.py b/src/software/openlmi/software/util/singletonmixin.py index 7b26b8b..c252676 100644 --- a/src/software/openlmi/software/util/singletonmixin.py +++ b/src/software/openlmi/software/util/singletonmixin.py @@ -257,7 +257,7 @@ class Singleton(object): try: if hasattr(cls.c_instance, '_prepare_to_forget_singleton'): # tell instance to release anything it might be holding onto. - cls.c_instance._prepare_to_forget_singleton() + cls.c_instance._prepare_to_forget_singleton() del cls.c_instance _remove_singleton(cls) except AttributeError: |