Description:
There is an issue with scrolling through the history in the GRT shell (using Python). If you execute a `for` again, the next line is expected to be indented, but the shell doesn't show that anymore.
It will work again not using history lines.
How to repeat:
>>> model = grt.root.wb.doc.physicalModels[0]
>>> for tab in model.catalog.schemata[0].tables:
... print "Table: `%s`" % (tab.name)
...
Table: `t1`
(scroll through history, cursor up and press enter on)
>>> for tab in model.catalog.schemata[0].tables:
(the shell should show '...', expecting indent, but doesn't)
(get the 'print' from the history, and press enter:)
>>> print "Table: `%s`" % (tab.name)
(doesn't execute. Now press couple more enters.)
>>>
...
>>>
...
>>>
(if you know paste again the lines, so not using history it works fine)
>>> for tab in model.catalog.schemata[0].tables:
... print "Table: `%s`" % (tab.name)
...
Table: `t1`