root/branches/Carsten_PtrWork2/Tools/convScript/Main.py

Revision 151, 360 bytes (checked in by cneumann, 2 years ago)

added: script for mechanical code conversions

  • Property svn:executable set to *
Line 
1 #! /usr/bin/python
2
3 import sys;
4 import ConversionDriver;
5 import OptionHandler;
6 import StandardOperation;
7
8 ### BEGIN main ###
9
10 args = sys.argv;
11 if len(args) <= 1:
12     args.append("-h");
13
14 # must come before creation of the driver instance.
15 OptionHandler.OptionHandler.setup(args);
16
17 driver = ConversionDriver.ConversionDriver();
18 driver.run();
19
20 ### END main   ###
Note: See TracBrowser for help on using the browser.