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

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

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

revision 1392 by jonathan, Thu Jul 10 14:54:16 2003 UTC revision 1520 by bh, Wed Jul 30 12:34:02 2003 UTC
# Line 1  Line 1 
1  #! /usr/bin/python  #! /usr/bin/python
2  # Copyright (C) 2001, 2002 by Intevation GmbH  # Copyright (C) 2001, 2002, 2003 by Intevation GmbH
3  # Authors:  # Authors:
4  # Jan-Oliver Wagner <[email protected]>  # Jan-Oliver Wagner <[email protected]>
5  # Bernhard Herzog <[email protected]>  # Bernhard Herzog <[email protected]>
# Line 25  def main(): Line 25  def main():
25          app = ThubanApplication(0)          app = ThubanApplication(0)
26          if len(sys.argv) > 1:          if len(sys.argv) > 1:
27              app.OpenSession(sys.argv[1])              app.OpenSession(sys.argv[1])
         sys.excepthook = app.ShowExceptionDialog  
28          app.MainLoop()          app.MainLoop()
29            # sys.excepthook is set in ThubanApplication.OnInit()
30          sys.excepthook = sys.__excepthook__          sys.excepthook = sys.__excepthook__
31    
   
32  def verify_versions():  def verify_versions():
33      """Check some library versions.      """Check some library versions.
34    

Legend:
Removed from v.1392  
changed lines
  Added in v.1520

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26