Hello community,

here is the log from the commit of package python-oslo.log for openSUSE:Factory 
checked in at 2015-10-30 13:42:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.log.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.log"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes  
2015-08-29 20:05:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes     
2015-10-30 13:42:26.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Sep  9 06:50:36 UTC 2015 - tbecht...@suse.com
+
+- update to 1.11.0:
+  * Fix poor examples of exception logging
+  * Updated from global requirements
+- Adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------

Old:
----
  oslo.log-1.10.0.tar.gz

New:
----
  oslo.log-1.11.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.log.spec ++++++
--- /var/tmp/diff_new_pack.6cN1JQ/_old  2015-10-30 13:42:26.000000000 +0100
+++ /var/tmp/diff_new_pack.6cN1JQ/_new  2015-10-30 13:42:26.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python-oslo.log
-Version:        1.10.0
+Version:        1.11.0
 Release:        0
 Summary:        OpenStack logging API
 License:        Apache-2.0
@@ -48,7 +48,7 @@
 Requires:       python-Babel >= 1.3
 Requires:       python-debtcollector >= 0.3.0
 Requires:       python-iso8601 >= 0.1.9
-Requires:       python-oslo.config >= 2.1.0
+Requires:       python-oslo.config >= 2.3.0
 Requires:       python-oslo.context >= 0.2.0
 Requires:       python-oslo.i18n >= 1.5.0
 Requires:       python-oslo.serialization >= 1.4.0

++++++ oslo.log-1.10.0.tar.gz -> oslo.log-1.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/AUTHORS new/oslo.log-1.11.0/AUTHORS
--- old/oslo.log-1.10.0/AUTHORS 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/AUTHORS 2015-09-08 17:43:24.000000000 +0200
@@ -70,6 +70,7 @@
 Sean Dague <sda...@linux.vnet.ibm.com>
 Sean Dague <sean.da...@samsung.com>
 Sean Dague <s...@dague.net>
+Sean McGinnis <sean_mcgin...@dell.com>
 Sergey Kraynev <skray...@mirantis.com>
 Sergey Lukjanov <slukja...@mirantis.com>
 Sergey Vilgelm <ser...@vilgelm.info>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/ChangeLog 
new/oslo.log-1.11.0/ChangeLog
--- old/oslo.log-1.10.0/ChangeLog       2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/ChangeLog       2015-09-08 17:43:24.000000000 +0200
@@ -1,6 +1,13 @@
 CHANGES
 =======
 
+1.11.0
+------
+
+* Fix poor examples of exception logging
+* Updated from global requirements
+* Updated from global requirements
+
 1.10.0
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/PKG-INFO new/oslo.log-1.11.0/PKG-INFO
--- old/oslo.log-1.10.0/PKG-INFO        2015-08-24 23:34:30.000000000 +0200
+++ new/oslo.log-1.11.0/PKG-INFO        2015-09-08 17:43:24.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: oslo.log
-Version: 1.10.0
+Version: 1.11.0
 Summary: oslo.log library
 Home-page: http://launchpad.net/oslo
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/doc/source/usage.rst 
new/oslo.log-1.11.0/doc/source/usage.rst
--- old/oslo.log-1.10.0/doc/source/usage.rst    2015-08-24 23:33:49.000000000 
+0200
+++ new/oslo.log-1.11.0/doc/source/usage.rst    2015-09-08 17:42:40.000000000 
+0200
@@ -87,7 +87,7 @@
 that's strictly :class:`unicode`, not :class:`str`. If a message has
 no interpolation for extra parameters, a byte string can be used.
 
-The most common place to encounter this is where :meth:`Logger.exception`
+The most common place to encounter this is where :meth:`Logger.error`
 is used by passing an exception object as the first argument.
 
 ::
@@ -96,7 +96,7 @@
     try:
         do_something()
     except Exception as err:
-        LOG.exception(err)
+        LOG.error(err)
 
 Now, the error should be converted to unicode either by calling
 :func:`six.text_type` or by using a unicode formatting string to
@@ -117,14 +117,14 @@
     try:
         do_something()
     except Exception as err:
-        LOG.exception(_LE(u"do_something couldn't do something: %s"), err)
+        LOG.error(_LE(u"do_something couldn't do something: %s"), err)
 
     # New style, alternate without context
     import six
     try:
         do_something()
     except Exception as err:
-        LOG.exception(six.text_type(err))
+        LOG.error(six.text_type(err))
 
 Failure to do this for exceptions or other objects containing
 translatable strings from ``oslo.i18n`` results in an exception when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/PKG-INFO 
new/oslo.log-1.11.0/oslo.log.egg-info/PKG-INFO
--- old/oslo.log-1.10.0/oslo.log.egg-info/PKG-INFO      2015-08-24 
23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/PKG-INFO      2015-09-08 
17:43:24.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: oslo.log
-Version: 1.10.0
+Version: 1.11.0
 Summary: oslo.log library
 Home-page: http://launchpad.net/oslo
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/pbr.json 
new/oslo.log-1.11.0/oslo.log.egg-info/pbr.json
--- old/oslo.log-1.10.0/oslo.log.egg-info/pbr.json      2015-08-24 
23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/pbr.json      2015-09-08 
17:43:24.000000000 +0200
@@ -1 +1 @@
-{"git_version": "a0e50f8", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "f718919"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/requires.txt 
new/oslo.log-1.11.0/oslo.log.egg-info/requires.txt
--- old/oslo.log-1.10.0/oslo.log.egg-info/requires.txt  2015-08-24 
23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/requires.txt  2015-09-08 
17:43:24.000000000 +0200
@@ -1,10 +1,10 @@
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
 Babel>=1.3
 six>=1.9.0
 iso8601>=0.1.9
-oslo.config>=2.1.0 # Apache-2.0
-oslo.context>=0.2.0 # Apache-2.0
-oslo.i18n>=1.5.0 # Apache-2.0
-oslo.utils>=2.0.0 # Apache-2.0
-oslo.serialization>=1.4.0 # Apache-2.0
-debtcollector>=0.3.0 # Apache-2.0
+oslo.config>=2.3.0
+oslo.context>=0.2.0
+oslo.i18n>=1.5.0
+oslo.utils>=2.0.0
+oslo.serialization>=1.4.0
+debtcollector>=0.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/requirements.txt 
new/oslo.log-1.11.0/requirements.txt
--- old/oslo.log-1.10.0/requirements.txt        2015-08-24 23:33:49.000000000 
+0200
+++ new/oslo.log-1.11.0/requirements.txt        2015-09-08 17:42:40.000000000 
+0200
@@ -2,11 +2,11 @@
 # of appearance. Changing the order has an impact on the overall integration
 # process, which may cause wedges in the gate later.
 
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
 Babel>=1.3
 six>=1.9.0
 iso8601>=0.1.9
-oslo.config>=2.1.0 # Apache-2.0
+oslo.config>=2.3.0 # Apache-2.0
 oslo.context>=0.2.0 # Apache-2.0
 oslo.i18n>=1.5.0 # Apache-2.0
 oslo.utils>=2.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/oslo.log-1.10.0/setup.cfg 
new/oslo.log-1.11.0/setup.cfg
--- old/oslo.log-1.10.0/setup.cfg       2015-08-24 23:34:30.000000000 +0200
+++ new/oslo.log-1.11.0/setup.cfg       2015-09-08 17:43:24.000000000 +0200
@@ -56,7 +56,7 @@
 universal = 1
 
 [egg_info]
+tag_build = 
 tag_date = 0
 tag_svn_revision = 0
-tag_build = 
 


Reply via email to