[Inteproxy-commits] r80 - in trunk: . inteproxy

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed May 2 17:57:20 CEST 2007


Author: bh
Date: 2007-05-02 17:57:18 +0200 (Wed, 02 May 2007)
New Revision: 80

Modified:
   trunk/ChangeLog
   trunk/inteproxy/feesdialog.py
Log:
* inteproxy/feesdialog.py (handle_fees_and_access_constraints):
Keep a copy of the response data around, so that it's passed to
the caller properly.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-05-02 14:35:16 UTC (rev 79)
+++ trunk/ChangeLog	2007-05-02 15:57:18 UTC (rev 80)
@@ -1,5 +1,11 @@
 2007-05-02  Bernhard Herzog  <bh at intevation.de>
 
+	* inteproxy/feesdialog.py (handle_fees_and_access_constraints):
+	Keep a copy of the response data around, so that it's passed to
+	the caller properly.
+
+2007-05-02  Bernhard Herzog  <bh at intevation.de>
+
 	* inteproxy/feesdialog.py: Remove special case for missing title.
 	It should alway be present and it would make more sense to handle
 	this case in the caller.

Modified: trunk/inteproxy/feesdialog.py
===================================================================
--- trunk/inteproxy/feesdialog.py	2007-05-02 14:35:16 UTC (rev 79)
+++ trunk/inteproxy/feesdialog.py	2007-05-02 15:57:18 UTC (rev 80)
@@ -70,7 +70,8 @@
         return response_read
 
     if is_get_capabilities_url(remote_url):
-        title, fees, access_constraints = parse_capabilities(response_read())
+        data = response_read()
+        title, fees, access_constraints = parse_capabilities(data)
         inteproxy.main.the_application.run_fees_dialog(title, fees,
                                                        access_constraints)
 



More information about the Inteproxy-commits mailing list