Skip to content

Commit cd36650

Browse files
committed
cleaning up code
1 parent 78a1f24 commit cd36650

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

python/console_sci.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@
2121

2222
from PyQt4.QtCore import *
2323
from PyQt4.QtGui import *
24-
from PyQt4.Qsci import *
25-
from PyQt4.Qsci import QsciScintilla, QsciScintillaBase, QsciLexerPython
26-
#from qgis.utils import iface
24+
from PyQt4.Qsci import (QsciScintilla,
25+
QsciScintillaBase,
26+
QsciLexerPython,
27+
QsciAPIs)
2728

2829
import sys
2930
import os
@@ -32,11 +33,6 @@
3233

3334
_init_commands = ["from qgis.core import *", "import qgis.utils"]
3435

35-
_console = None
36-
37-
_old_stdout = sys.stdout
38-
_console_output = None
39-
4036
class PythonEdit(QsciScintilla, code.InteractiveInterpreter):
4137
def __init__(self, parent=None):
4238
#QsciScintilla.__init__(self, parent)

0 commit comments

Comments
 (0)