Skip to content

Commit

Permalink
[processing]removed debug print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Oct 6, 2014
1 parent a39315a commit c2e30b3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion python/plugins/processing/core/GeoAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion python/plugins/processing/modeler/ModelerGraphicItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
5 changes: 1 addition & 4 deletions python/plugins/processing/modeler/ModelerParametersDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c2e30b3

Please sign in to comment.