[Sugar-devel] [PATCH sugar v2 18/21] pylint cleanup: fix indentation
Sascha Silbe
sascha-ml-reply-to-2010-3 at silbe.org
Wed Nov 24 14:36:45 EST 2010
Excerpts from Simon Schampijer's message of Wed Nov 24 19:19:52 +0100 2010:
[src/jarabe/desktop/activitieslist.py]
> > if not os.access(activity_info.get_path(), os.W_OK) or \
> > - registry.is_activity_protected(self._bundle_id):
> > - menu_item.props.sensitive = False
> > + registry.is_activity_protected(self._bundle_id):
> > + menu_item.props.sensitive = False
> >
>
> Shouldn't
>
> registry.is_activity_protected(self._bundle_id):
>
> be inlined by 8?
Not according to PEP-8:
if width == 0 and height == 0 and \
color == 'red' and emphasis == 'strong' or \
highlight > 100:
raise ValueError("sorry, you lose")
Sascha
--
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101124/67161518/attachment.pgp>
More information about the Sugar-devel
mailing list