Skip to content

Commit

Permalink
fix empty lines with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 20, 2017
1 parent bdfd345 commit 5dc9b58
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/core/geometry/qgspoint.sip
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion scripts/sipify.pl
Expand Up @@ -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";
}
}
}

Expand Down

0 comments on commit 5dc9b58

Please sign in to comment.