changeset 2040:d47f2665684a

make pep8 checker happy
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 20 Mar 2013 12:42:06 +0100
parents 3217a345d20a
children e02cf4c80881 423d8d791cc9
files MoinMoin/items/ticket.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/ticket.py	Tue Mar 19 21:16:07 2013 +0100
+++ b/MoinMoin/items/ticket.py	Wed Mar 20 12:42:06 2013 +0100
@@ -96,9 +96,8 @@
         super(TicketUpdateForm, self)._load(item)
         self['submit'].properties['labels'] = {
             'update': L_('Update ticket'),
-            'update_negate_status':
-                L_('Update & reopen ticket') if item.meta.get('closed') else
-                L_('Update & close ticket')
+            'update_negate_status': (L_('Update & reopen ticket') if item.meta.get('closed')
+                                     else L_('Update & close ticket'))
         }
 
     def _dump(self, item):