[openlayers] 19/41: Fix typo in patch.

Bas Couwenberg sebastic at xs4all.nl
Fri Dec 26 02:41:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository openlayers.

commit f0dc15ae7e62a163b8df797e2a69a21e99f87532
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Oct 9 13:11:29 2011 +0200

    Fix typo in patch.
---
 debian/patches/improved-GeoRSS-parsing.patch | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/patches/improved-GeoRSS-parsing.patch b/debian/patches/improved-GeoRSS-parsing.patch
index 909709f..4fa1e16 100644
--- a/debian/patches/improved-GeoRSS-parsing.patch
+++ b/debian/patches/improved-GeoRSS-parsing.patch
@@ -6,13 +6,14 @@ Last-Update: 2011-10-09
 
 --- a/lib/OpenLayers/Layer/GeoRSS.js
 +++ b/lib/OpenLayers/Layer/GeoRSS.js
-@@ -145,7 +145,9 @@
+@@ -145,7 +145,10 @@
                  name = doc.getElementsByTagNameNS('*', 'title')[0].firstChild.nodeValue;
              }
              catch (e) {
 -                name = doc.getElementsByTagName('title')[0].firstChild.nodeValue;
 +                try {
 +                    name = doc.getElementsByTagName('title')[0].firstChild.nodeValue;
++                }
 +                catch (e) {}
              }
              if (name) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openlayers.git



More information about the Pkg-grass-devel mailing list