Hello community,

here is the log from the commit of package python-stevedore for 
openSUSE:Factory checked in at 2013-09-03 22:05:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-stevedore (Old)
 and      /work/SRC/openSUSE:Factory/.python-stevedore.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-stevedore"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-stevedore/python-stevedore.changes        
2013-07-11 20:13:48.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-stevedore.new/python-stevedore.changes   
2013-09-03 22:05:58.000000000 +0200
@@ -1,0 +2,6 @@
+Mon Sep  2 15:37:00 UTC 2013 - [email protected]
+
+- update to 0.11:
+  * Fixes logging configuration under Python 2.6 with a NullHandler
+
+-------------------------------------------------------------------

Old:
----
  stevedore-0.10.tar.gz

New:
----
  stevedore-0.11.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-stevedore.spec ++++++
--- /var/tmp/diff_new_pack.nU4g8v/_old  2013-09-03 22:05:59.000000000 +0200
+++ /var/tmp/diff_new_pack.nU4g8v/_new  2013-09-03 22:05:59.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-stevedore
-Version:        0.10
+Version:        0.11
 Release:        0
 Summary:        Manage dynamic plugins for Python applications
 License:        Apache-2.0
@@ -25,7 +25,7 @@
 Url:            https://github.com/dreamhost/stevedore
 Source:         
http://pypi.python.org/packages/source/s/stevedore/stevedore-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
+BuildRequires:  python-setuptools
 # Documentation requirements:
 BuildRequires:  python-Sphinx
 # Test requirements:

++++++ stevedore-0.10.tar.gz -> stevedore-0.11.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.10/PKG-INFO new/stevedore-0.11/PKG-INFO
--- old/stevedore-0.10/PKG-INFO 2013-07-08 15:26:52.000000000 +0200
+++ new/stevedore-0.11/PKG-INFO 2013-08-29 18:30:19.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: stevedore
-Version: 0.10
+Version: 0.11
 Summary: Manage dynamic plugins for Python applications
 Home-page: https://github.com/dreamhost/stevedore
 Author: Doug Hellmann
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.10/docs/source/history.rst 
new/stevedore-0.11/docs/source/history.rst
--- old/stevedore-0.10/docs/source/history.rst  2013-07-08 15:21:25.000000000 
+0200
+++ new/stevedore-0.11/docs/source/history.rst  2013-08-29 18:29:02.000000000 
+0200
@@ -2,6 +2,11 @@
  History
 =========
 
+0.11
+
+- Fixes logging configuration under Python 2.6 with a NullHandler.
+  (:issue:`2`)
+
 0.10
 
 - Adds ``propagate_map_exceptions`` parameter to all of the extension
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.10/setup.py new/stevedore-0.11/setup.py
--- old/stevedore-0.10/setup.py 2013-07-08 15:22:18.000000000 +0200
+++ new/stevedore-0.11/setup.py 2013-08-29 18:28:34.000000000 +0200
@@ -16,7 +16,7 @@
 
 setup(
     name='stevedore',
-    version='0.10',
+    version='0.11',
 
     description='Manage dynamic plugins for Python applications',
     long_description=long_description,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.10/stevedore/__init__.py 
new/stevedore-0.11/stevedore/__init__.py
--- old/stevedore-0.10/stevedore/__init__.py    2013-06-03 17:39:43.000000000 
+0200
+++ new/stevedore-0.11/stevedore/__init__.py    2013-08-29 18:29:22.000000000 
+0200
@@ -1,5 +1,13 @@
 # flake8: noqa
 
+__all__ = [
+    'ExtensionManager',
+    'EnabledExtensionManager',
+    'NamedExtensionManager',
+    'HookManager',
+    'DriverManager',
+]
+
 from .extension import ExtensionManager
 from .enabled import EnabledExtensionManager
 from .named import NamedExtensionManager
@@ -10,9 +18,19 @@
 
 # Configure a NullHandler for our log messages in case
 # the app we're used from does not set up logging.
-LOG = logging.getLogger(__name__)
-try:
+LOG = logging.getLogger('stevedore')
+
+if hasattr(logging, 'NullHandler'):
     LOG.addHandler(logging.NullHandler())
-except AttributeError:
-    # No NullHandler, probably python 2.6
-    pass
+else:
+    class NullHandler(logging.Handler):
+        def handle(self, record):
+            pass
+
+        def emit(self, record):
+            pass
+
+        def createLock(self):
+            self.lock = None
+
+    LOG.addHandler(NullHandler())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/stevedore-0.10/stevedore.egg-info/PKG-INFO 
new/stevedore-0.11/stevedore.egg-info/PKG-INFO
--- old/stevedore-0.10/stevedore.egg-info/PKG-INFO      2013-07-08 
15:26:52.000000000 +0200
+++ new/stevedore-0.11/stevedore.egg-info/PKG-INFO      2013-08-29 
18:30:15.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: stevedore
-Version: 0.10
+Version: 0.11
 Summary: Manage dynamic plugins for Python applications
 Home-page: https://github.com/dreamhost/stevedore
 Author: Doug Hellmann

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to