[Python-modules-commits] r20934 - in packages/python-wadllib/trunk/debian (3 files)

stefanor at users.alioth.debian.org stefanor at users.alioth.debian.org
Mon Mar 26 08:53:46 UTC 2012


    Date: Monday, March 26, 2012 @ 08:53:45
  Author: stefanor
Revision: 20934

* New upstream release.
  - no-et-roundtrip patch applied upstream.

Modified:
  packages/python-wadllib/trunk/debian/changelog
  packages/python-wadllib/trunk/debian/patches/series
Deleted:
  packages/python-wadllib/trunk/debian/patches/no-et-roundtrip

Modified: packages/python-wadllib/trunk/debian/changelog
===================================================================
--- packages/python-wadllib/trunk/debian/changelog	2012-03-26 08:49:28 UTC (rev 20933)
+++ packages/python-wadllib/trunk/debian/changelog	2012-03-26 08:53:45 UTC (rev 20934)
@@ -1,6 +1,7 @@
-python-wadllib (1.3.0-3) UNRELEASED; urgency=low
+python-wadllib (1.3.1-1) UNRELEASED; urgency=low
 
-  * NOT RELEASED YET
+  * New upstream release.
+    - no-et-roundtrip patch applied upstream.
 
  -- Stefano Rivera <stefanor at debian.org>  Thu, 22 Mar 2012 16:55:51 +0200
 

Deleted: packages/python-wadllib/trunk/debian/patches/no-et-roundtrip
===================================================================
--- packages/python-wadllib/trunk/debian/patches/no-et-roundtrip	2012-03-26 08:49:28 UTC (rev 20933)
+++ packages/python-wadllib/trunk/debian/patches/no-et-roundtrip	2012-03-26 08:53:45 UTC (rev 20934)
@@ -1,26 +0,0 @@
-Description: Don't roundtrip through ET, losing namespaces
- Roundtripping through ET was losing the namespace information, causing
- datetimes to be returned as strings.
-Bug-Upstream: https://bugs.launchpad.net/bugs/924240
-Forwarded: https://code.launchpad.net/~stefanor/wadllib/datetime-924240/+merge/97099
-Author: Stefano Rivera <stefanor at debian.org>
-Last-Update: 2012-03-22
-
---- a/src/wadllib/application.py
-+++ b/src/wadllib/application.py
-@@ -1104,13 +1104,8 @@
-         return ET.ElementTree(root)
- 
-     def _from_string(self, markup):
--        """Turns markup into a document.
--
--        Just a wrapper around ElementTree which keeps track of namespaces.
--        """
--        # We're using the ET fromstring/tostring to help make sure we maintain
--        # py2/3 compatiblity and keeping things in Unicode.
--        return self._from_stream(BytesIO(ET.tostring(ET.fromstring(markup))))
-+        """Turns markup into a document."""
-+        return self._from_stream(BytesIO(markup))
- 
-     def get_resource_type(self, resource_type_url):
-         """Retrieve a resource type by the URL of its description."""

Modified: packages/python-wadllib/trunk/debian/patches/series
===================================================================
--- packages/python-wadllib/trunk/debian/patches/series	2012-03-26 08:49:28 UTC (rev 20933)
+++ packages/python-wadllib/trunk/debian/patches/series	2012-03-26 08:53:45 UTC (rev 20934)
@@ -1,2 +1 @@
 install-data
-no-et-roundtrip




More information about the Python-modules-commits mailing list