Skip to content
Permalink
Browse files

fix empty lines with spaces

  • Loading branch information
3nids committed Dec 20, 2017
1 parent bdfd345 commit 5dc9b5869a93f7667c6cf39e3c74308af5910856
Showing with 7 additions and 3 deletions.
  1. +2 −2 python/core/geometry/qgspoint.sip
  2. +5 −1 scripts/sipify.pl
@@ -40,11 +40,11 @@ based on the following rules:

pt_z = QgsPoint(120, 343, 77)
pt.asWkt() # PointZ(120 343 77)

pt_m = QgsPoint(33, 88, m=5)
pt_m.m() # 5
pt_m.wkbType() # QgsWkbTypes.PointM

pt = QgsPoint(30, 40, wkbType=QgsWkbTypes.PointZ)
pt.z() # nan
pt.wkbType() # QgsWkbTypes.PointZ
@@ -142,7 +142,11 @@ sub processDoxygenLine {
if ( $CODE_SNIPPET == CODE_SNIPPET_CPP ){
return "";
} else {
return " $line\n";
if ( $line ne ''){
return " $line\n";
} else {
return "\n";
}
}
}

0 comments on commit 5dc9b58

Please sign in to comment.
You can’t perform that action at this time.