[lmiwbem/f20] drop __all__ from lmiwbem.__init__.py
Peter Hatina
phatina at fedoraproject.org
Thu Jul 31 09:49:08 UTC 2014
commit 329d35852fdaf1ec4fa6738dfc69714c352b03e3
Author: Peter Hatina <phatina at redhat.com>
Date: Thu Jul 31 11:36:54 2014 +0200
drop __all__ from lmiwbem.__init__.py
lmiwbem-05-fix-init.patch | 50 ++++++++++++++++++++++++++++++++++++--------
lmiwbem.spec | 5 +++-
2 files changed, 45 insertions(+), 10 deletions(-)
---
diff --git a/lmiwbem-05-fix-init.patch b/lmiwbem-05-fix-init.patch
index 8f6dcc0..f8086b5 100644
--- a/lmiwbem-05-fix-init.patch
+++ b/lmiwbem-05-fix-init.patch
@@ -1,12 +1,44 @@
diff --git a/src/__init__.py.in b/src/__init__.py.in
-index 53e3dfd..8aefe9d 100644
+index faccf16..de1058d 100644
--- a/src/__init__.py.in
+++ b/src/__init__.py.in
-@@ -39,6 +39,7 @@ __all__ = [
- "CIMDateTime",
- "CIMError",
- "CIMFloat",
-+ "CIMIndicationListener",
- "CIMInstance",
- "CIMInstanceName",
- "CIMInt",
+@@ -32,39 +32,5 @@ protocol. The library tries to mimic PyWBEM, but does things in different way:
+
+ __version__ = "@VERSION@"
+
+-# List all the classes, so they are all listed, when help(lmiwbem) is called
+-__all__ = [
+- "CIMClass",
+- "CIMClassName",
+- "CIMDateTime",
+- "CIMError",
+- "CIMFloat",
+- "CIMInstance",
+- "CIMInstanceName",
+- "CIMInt",
+- "CIMMethod",
+- "CIMParameter",
+- "CIMProperty",
+- "CIMQualifier",
+- "CIMType",
+- "ConnectionError",
+- "MinutesFromUTC",
+- "NocaseDict",
+- "NocaseDictItemIterator",
+- "NocaseDictKeyIterator",
+- "NocaseDictValueIterator",
+- "Real32",
+- "Real64",
+- "Sint16",
+- "Sint32",
+- "Sint64",
+- "Sint8",
+- "Uint16",
+- "Uint32",
+- "Uint64",
+- "Uint8",
+- "WBEMConnection"
+-]
+-
+ from lmiwbem_core import *
+ from lmiwbem_types import *
diff --git a/lmiwbem.spec b/lmiwbem.spec
index b0d7f8b..dd928a7 100644
--- a/lmiwbem.spec
+++ b/lmiwbem.spec
@@ -1,6 +1,6 @@
Name: lmiwbem
Version: 0.2.0
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Python WBEM Client
License: LGPLv2+
URL: https://github.com/phatina/lmiwbem
@@ -65,6 +65,9 @@ find %{buildroot} -name '*.la' | xargs rm -f
%{_docdir}/%{name}-%{version}/html
%changelog
+* Thu Jul 31 2014 Peter Hatina <phatina at redhat.com> - 0.2.0-9
+- drop __all__ from lmiwbem.__init__.py
+
* Wed Jul 23 2014 Peter Hatina <phatina at redhat.com> - 0.2.0-8
- fix CIMIndicationListener API compatibility
More information about the scm-commits
mailing list