diff -r 9986ec0e559a -r 10516539f238 Graphics/ModuleItem.py --- a/Graphics/ModuleItem.py Tue Oct 15 22:03:54 2013 +0200 +++ b/Graphics/ModuleItem.py Fri Oct 18 23:00:41 2013 +0200 @@ -138,7 +138,8 @@ @param widget optional reference to the widget painted on (QWidget) """ pen = self.pen() - if (option.state & QStyle.State_Selected) == QStyle.State(QStyle.State_Selected): + if (option.state & QStyle.State_Selected) == \ + QStyle.State(QStyle.State_Selected): pen.setWidth(2) else: pen.setWidth(1) @@ -163,8 +164,8 @@ Public method to build a string to persist the specific item data. This string must start with ", " and should be built like - "attribute=value" with pairs separated by ", ". value must not contain ", " - or newlines. + "attribute=value" with pairs separated by ", ". value must not + contain ", " or newlines. @return persistence data (string) """