WASTEconst.py goes one level above the toolbox directory.
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 21 Feb 2003 22:11:45 +0000 (22:11 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 21 Feb 2003 22:11:45 +0000 (22:11 +0000)
Mac/Modules/waste/wastescan.py

index bb186aa808295f684bc13b452267d85fd81d67da..1d7bdcb1eae6a1cf9dd0bb9ca1cb808e427bd57e 100644 (file)
@@ -19,7 +19,7 @@ OBJECT2 = "WEObjectReference"
 def main():
        input = WASTEDIR + "WASTE.h"
        output = SHORT + "gen.py"
-       defsoutput = TOOLBOXDIR + "WASTEconst.py"
+       defsoutput = os.path.join(os.path.split(TOOLBOXDIR)[0], "WASTEconst.py")
        scanner = MyScanner(input, output, defsoutput)
        scanner.scan()
 ##     scanner.gentypetest(SHORT+"typetest.py")