Use the filename, not the pathname, in the definitions file

comment. This way the generated files are identical when generated on
different machines.
This commit is contained in:
Jack Jansen 2001-02-27 11:04:20 +00:00
parent e99bd17ed6
commit d67566b0f0
1 changed files with 1 additions and 1 deletions

View File

@ -392,7 +392,7 @@ if missing: raise "Missing Types"
self.report("(No symbol definitions will be written)")
else:
self.report("defsfile = %s", `self.defsfile.name`)
self.defsfile.write("# Generated from %s\n\n" % `inputname`)
self.defsfile.write("# Generated from %s\n\n" % `os.path.split(inputname)[1]`)
self.writeinitialdefs()
self.alreadydone = []
try: