comparison getan/states.py @ 247:ee04fc66891f

Return True here instead of self
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 22:19:07 +0200
parents 2b2738c8c130
children 0219b1d63c6c
comparison
equal deleted inserted replaced
246:2b2738c8c130 247:ee04fc66891f
410 self.controller.view.frame.keypress(size, key) 410 self.controller.view.frame.keypress(size, key)
411 411
412 def enter(self): 412 def enter(self):
413 text = self.footer.get_edit_text() 413 text = self.footer.get_edit_text()
414 if text == '': 414 if text == '':
415 return self 415 return True
416 self.controller.stop_project(text) 416 self.controller.stop_project(text)
417 self.controller.view.set_footer_text(self.msg('choose_proj'), 'question') 417 self.controller.view.set_footer_text(self.msg('choose_proj'), 'question')
418 self.set_next_state(PausedProjectsState(self.controller, self.view)) 418 self.set_next_state(PausedProjectsState(self.controller, self.view))
419 return True 419 return True
420 420
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)