Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.2, 1.0.3, and 1.0.4

stable gdialog: backed out changeset: 4868fa6c862e

'self.cmd' variable is added in GDialog.__init__() function.
So existence of 'self.cmd' variable is guaranteed.

Refs #1132

Changeset 9601890a0bf1

Parent e5ee122d6672

by Yuki KODAMA

Changes to one file · Browse files at 9601890a0bf1 Showing diff from parent e5ee122d6672 Diff from another changeset...

 
891
892
893
894
 
895
896
897
 
891
892
893
 
894
895
896
897
@@ -891,7 +891,7 @@
  return # close dialog   # Cancel button or dialog closing by the user   elif response_id in (gtk.RESPONSE_CLOSE, gtk.RESPONSE_DELETE_EVENT): - if hasattr(self, 'cmd') and self.cmd.is_alive(): + if self.cmd.is_alive():   ret = Confirm(_('Confirm Abort'), [], self,   _('Do you want to abort?')).run()   if ret == gtk.RESPONSE_YES: