/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/join.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/join.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1005 by bh, Thu May 22 20:01:50 2003 UTC revision 1007 by bh, Thu May 22 20:08:02 2003 UTC
# Line 122  class JoinDialog(wxDialog): Line 122  class JoinDialog(wxDialog):
122              joined_table = TransientJoinedTable(self.db, left_table, left_field,              joined_table = TransientJoinedTable(self.db, left_table, left_field,
123                                              right_table, right_field)                                              right_table, right_field)
124          except:          except:
125              exc_type, exc_value, exc_traceback = sys.exc_info()              dlg = wxMessageDialog(None, 'Join failed:\n  %s'%sys.exc_info()[1],
             dlg = wxMessageDialog(None, 'Join failed:\n  %s' % exc_value,  
126                                          'Info',wxOK|wxICON_ERROR)                                          'Info',wxOK|wxICON_ERROR)
127              dlg.ShowModal()              dlg.ShowModal()
128              dlg.Destroy()              dlg.Destroy()
129              result = False              result = False
130            
131          if result:          if result:
132              self.session.AddTable(joined_table)              self.session.AddTable(joined_table)
133              name = joined_table.tablename              name = joined_table.tablename

Legend:
Removed from v.1005  
changed lines
  Added in v.1007

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26