2005-01-10 | Paul Boddie | raw files shortlog changelog graph | Introduced removal of skeleton classes. | |
tools/wrap.py (file) |
1.1 --- a/tools/wrap.py Mon Jan 10 00:19:27 2005 +0100 1.2 +++ b/tools/wrap.py Mon Jan 10 00:19:39 2005 +0100 1.3 @@ -53,6 +53,11 @@ 1.4 for method_name, wrapped_method_name in method_names: 1.5 f.write("setattr(%s, '%s', %s.%s)\n" % (class_name, method_name, class_name, wrapped_method_name)) 1.6 1.7 + # Remove the original class. 1.8 + 1.9 + print "Removing", filename 1.10 + os.remove(filename) 1.11 + 1.12 f.close() 1.13 1.14 # vim: tabstop=4 expandtab shiftwidth=4