Skip to content
Permalink
Browse files

[processing]removed debug print lines

  • Loading branch information
volaya committed Sep 28, 2014
1 parent a39315a commit c2e30b3c035efd353b3cc6543ffc759b5af8ea83
@@ -120,7 +120,6 @@ def help(self):
"""
name = self.commandLineName().split(':')[1].lower()
filename = os.path.join(os.path.dirname(inspect.getfile(self.__class__)), 'help', name + '.rst')
print filename
try:
html = getHtmlFromRstFile(filename)
return True, html
@@ -43,7 +43,6 @@ def __init__(self, element, model):
super(ModelerGraphicItem, self).__init__(None, None)
self.model = model
self.element = element
print element.__class__
if isinstance(element, ModelerParameter):
icon = QtGui.QIcon(os.path.dirname(__file__)
+ '/../images/input.png')
@@ -131,7 +131,7 @@ def setupUi(self):
if isinstance(output, (OutputRaster, OutputVector, OutputTable,
OutputHTML, OutputFile, OutputDirectory)):
label = QLabel(output.description + '<'
+ output.__module__.split('.')[-1] + '>')
+ output.__class__.__name__ + '>')
item = QLineEdit()
if hasattr(item, 'setPlaceholderText'):
item.setPlaceholderText(ModelerParametersDialog.ENTER_NAME)
@@ -376,10 +376,7 @@ def setTableContent(self):
def setComboBoxValue(self, combo, value, param):
if isinstance(value, list):
value = value[0]
print param.name
print value
items = [combo.itemData(i) for i in range(combo.count())]
print items
try:
idx = items.index(value)
combo.setCurrentIndex(idx)

0 comments on commit c2e30b3

Please sign in to comment.
You can’t perform that action at this time.