Hello community,

here is the log from the commit of package python-bottle for openSUSE:Factory 
checked in at 2019-11-22 10:19:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bottle (Old)
 and      /work/SRC/openSUSE:Factory/.python-bottle.new.26869 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bottle"

Fri Nov 22 10:19:03 2019 rev:15 rq:745370 version:0.12.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bottle/python-bottle.changes      
2019-03-29 20:35:50.662525849 +0100
+++ /work/SRC/openSUSE:Factory/.python-bottle.new.26869/python-bottle.changes   
2019-11-22 10:19:08.077365445 +0100
@@ -1,0 +2,6 @@
+Sun Jul 28 16:13:23 UTC 2019 - Arun Persaud <[email protected]>
+
+- update to version 0.12.17:
+  * fix #1148: redirect() and non-ascii characters
+
+-------------------------------------------------------------------

Old:
----
  bottle-0.12.16.tar.gz

New:
----
  bottle-0.12.17.tar.gz

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

Other differences:
------------------
++++++ python-bottle.spec ++++++
--- /var/tmp/diff_new_pack.uDCz4n/_old  2019-11-22 10:19:09.173365161 +0100
+++ /var/tmp/diff_new_pack.uDCz4n/_new  2019-11-22 10:19:09.173365161 +0100
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-bottle
-Version:        0.12.16
+Version:        0.12.17
 Release:        0
 Summary:        WSGI framework for small web applications
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://bottlepy.org/
+URL:            https://bottlepy.org/
 Source:         
https://files.pythonhosted.org/packages/source/b/bottle/bottle-%{version}.tar.gz
 Source1:        http://bottlepy.org/docs/0.12/bottle-docs.pdf
 BuildRequires:  %{python_module setuptools}

++++++ bottle-0.12.16.tar.gz -> bottle-0.12.17.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bottle-0.12.16/PKG-INFO new/bottle-0.12.17/PKG-INFO
--- old/bottle-0.12.16/PKG-INFO 2018-12-13 08:39:33.000000000 +0100
+++ new/bottle-0.12.17/PKG-INFO 2019-06-23 19:13:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: bottle
-Version: 0.12.16
+Version: 0.12.17
 Summary: Fast and simple WSGI-framework for small web-applications.
 Home-page: http://bottlepy.org/
 Author: Marcel Hellkamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bottle-0.12.16/bottle.egg-info/PKG-INFO 
new/bottle-0.12.17/bottle.egg-info/PKG-INFO
--- old/bottle-0.12.16/bottle.egg-info/PKG-INFO 2018-12-13 08:39:32.000000000 
+0100
+++ new/bottle-0.12.17/bottle.egg-info/PKG-INFO 2019-06-23 19:13:40.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: bottle
-Version: 0.12.16
+Version: 0.12.17
 Summary: Fast and simple WSGI-framework for small web-applications.
 Home-page: http://bottlepy.org/
 Author: Marcel Hellkamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bottle-0.12.16/bottle.py new/bottle-0.12.17/bottle.py
--- old/bottle-0.12.16/bottle.py        2018-12-13 08:38:51.000000000 +0100
+++ new/bottle-0.12.17/bottle.py        2019-06-23 19:12:26.000000000 +0200
@@ -16,7 +16,7 @@
 from __future__ import with_statement
 
 __author__ = 'Marcel Hellkamp'
-__version__ = '0.12.16'
+__version__ = '0.12.17'
 __license__ = 'MIT'
 
 # The gevent server adapter needs to patch some modules before they are 
imported
@@ -1557,7 +1557,7 @@
 
     @property
     def headerlist(self):
-        ''' WSGI conform list of (header, value) tuples. '''
+        """ WSGI conform list of (header, value) tuples. """
         out = []
         headers = list(self._headers.items())
         if 'Content-Type' not in self._headers:
@@ -1565,10 +1565,12 @@
         if self._status_code in self.bad_headers:
             bad_headers = self.bad_headers[self._status_code]
             headers = [h for h in headers if h[0] not in bad_headers]
-        out += [(name, val) for name, vals in headers for val in vals]
+        out += [(name, val) for (name, vals) in headers for val in vals]
         if self._cookies:
             for c in self._cookies.values():
-                out.append(('Set-Cookie', c.OutputString()))
+                out.append(('Set-Cookie', _hval(c.OutputString())))
+        if py3k:
+            out = [(k, v.encode('utf8').decode('latin1')) for (k, v) in out]
         return out
 
     content_type = HeaderProperty('Content-Type')


Reply via email to