Ignore:
Timestamp:
22 Jun 2011, 10:58:53 (14 years ago)
Author:
Henrik Bettermann
Message:

Be more verbose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/accesscodes/browser.py

    r6450 r6451  
    140140                    self.flash('%s disabled.' % entry)
    141141                except InvalidTransitionError:
    142                     self.flash('Transition not allowed.')
     142                    self.flash('%s: Disable transition not allowed.' % entry)
    143143            elif 'enable' in form:
    144144                try:
     
    146146                    self.flash('%s (re-)enabled.' % entry)
    147147                except InvalidTransitionError:
    148                     self.flash('Transition not allowed.')
     148                    self.flash('%s: Re-enable transition not allowed.' % entry)
    149149        self.hitlist = search(query=self.searchterm,
    150150            searchtype=self.searchtype, view=self)
Note: See TracChangeset for help on using the changeset viewer.