Skip to content

Commit b500ab5

Browse files
committedMar 2, 2017
[processing] fixed reading script description for R algorithms
fixes #16227
1 parent 9c3fa18 commit b500ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/r/RAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def parseDescription(self, lines):
139139
self.commands.append(line)
140140
self.script += line + '\n'
141141
try:
142-
line = lines.next().strip('\n').strip('\r')
142+
line = next(lines).strip('\n').strip('\r')
143143
except:
144144
break
145145

0 commit comments

Comments
 (0)
Please sign in to comment.