Skip to content


fix plugin loading error caused by wrong usage of list comprehensions
Browse files Browse the repository at this point in the history
git-svn-id: 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information committed Jul 31, 2012
1 parent d71c7d8 commit e077b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sextante/grass/
Expand Up @@ -18,7 +18,7 @@ def getIcon(self):

def execute(self):
layers = QGisLayers.getAllLayers();
layersMap = { : layer for layer in layers}
layersMap = dict([(, layer) for layer in layers])
layerNames = [ for layer in layers]
item, ok = QtGui.QInputDialog.getItem(None, "Select a layer", "Layer selection", layerNames, editable=False)
if ok:
Expand Down

0 comments on commit e077b48

Please sign in to comment.