Bugfix for keyword argument.

Tue, 31 Dec 2013 20:56:16 +0100

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Tue, 31 Dec 2013 20:56:16 +0100
changeset 14
039f86a49919
parent 12
c39bbbbb8ce8
child 15
2096afa1756f

Bugfix for keyword argument.

PluginPrintRemover.py file | annotate | diff | comparison | revisions
--- a/PluginPrintRemover.py	Sat Dec 28 19:41:07 2013 +0100
+++ b/PluginPrintRemover.py	Tue Dec 31 20:56:16 2013 +0100
@@ -263,7 +263,7 @@
         
         text = editor.text()
         newText = "".join([
-            line for line in text.splitlines(keepends=True)
+            line for line in text.splitlines(True)
             if not line.lstrip().startswith(pattern) or
             "__NO_REMOVE__" in line
         ])

eric ide

mercurial