Skip to content

Commit

Permalink
cleaning up code
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Sep 13, 2012
1 parent 78a1f24 commit cd36650
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions python/console_sci.py
Expand Up @@ -21,9 +21,10 @@

from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.Qsci import *
from PyQt4.Qsci import QsciScintilla, QsciScintillaBase, QsciLexerPython
#from qgis.utils import iface
from PyQt4.Qsci import (QsciScintilla,
QsciScintillaBase,
QsciLexerPython,
QsciAPIs)

import sys
import os
Expand All @@ -32,11 +33,6 @@

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

_console = None

_old_stdout = sys.stdout
_console_output = None

class PythonEdit(QsciScintilla, code.InteractiveInterpreter):
def __init__(self, parent=None):
#QsciScintilla.__init__(self, parent)
Expand Down

0 comments on commit cd36650

Please sign in to comment.