[prev in list] [next in list] [prev in thread] [next in thread]
List: grass-commit
Subject: [GRASS-SVN] r54461 - grass/trunk/scripts/r.in.wms
From: svn_grass () osgeo ! org
Date: 2012-12-29 20:41:01
Message-ID: 20121229204101.8EF04390398 () trac ! osgeo ! org
[Download RAW message or body]
Author: martinl
Date: 2012-12-29 12:41:00 -0800 (Sat, 29 Dec 2012)
New Revision: 54461
Modified:
grass/trunk/scripts/r.in.wms/wms_base.py
grass/trunk/scripts/r.in.wms/wms_cap_parsers.py
Log:
r.in.wms: fix typos (patch provided by Stepan Turek)
Modified: grass/trunk/scripts/r.in.wms/wms_base.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_base.py 2012-12-29 20:38:08 UTC (rev 54460)
+++ grass/trunk/scripts/r.in.wms/wms_base.py 2012-12-29 20:41:00 UTC (rev 54461)
@@ -473,7 +473,7 @@
overwrite = True,
maskcats = "0",
flags = 'i',
- input = self.opt_output + '.alpha') != 0:
+ raster = self.opt_output + '.alpha') != 0:
grass.fatal(_('%s failed') % 'r.mask')
#TODO one band + alpha band?
Modified: grass/trunk/scripts/r.in.wms/wms_cap_parsers.py
===================================================================
--- grass/trunk/scripts/r.in.wms/wms_cap_parsers.py 2012-12-29 20:38:08 UTC (rev 54460)
+++ grass/trunk/scripts/r.in.wms/wms_cap_parsers.py 2012-12-29 20:41:00 UTC (rev 54461)
@@ -205,7 +205,7 @@
if cmp is not None:
cmp_text = cmp.text
- if cmpt_text is None or \
+ if cmp_text is None or \
cmp_text.lower() == parent_cmp_text.lower():
is_there = True
break
@@ -632,4 +632,4 @@
if end_i < 0:
end_i = len(params_str)
- return (start_i, end_i)
\ No newline at end of file
+ return (start_i, end_i)
_______________________________________________
grass-commit mailing list
grass-commit@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-commit
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic