[gimp] Use assignment operator



commit 263b4722cace1eb1acf28bc496cee513063d6d35
Author: Michal <m powalko gmail com>
Date:   Mon Sep 17 14:36:11 2018 +0200

    Use assignment operator

 plug-ins/pygimp/plug-ins/pyconsole.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plug-ins/pygimp/plug-ins/pyconsole.py b/plug-ins/pygimp/plug-ins/pyconsole.py
index 199290bf8c..d69da1b16e 100644
--- a/plug-ins/pygimp/plug-ins/pyconsole.py
+++ b/plug-ins/pygimp/plug-ins/pyconsole.py
@@ -634,7 +634,7 @@ class _Console(_ReadLine, code.InteractiveInterpreter):
                     s = self.completer.complete(text, i)
                     if s:
                         completions.append(s)
-                        i = i + 1
+                        i += 1
                     else:
                         completions.sort()
                         return completions


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]