| 234 |
print >> stderr, "Unable to create output directory", OUTPUTDIR[CDD] |
print >> stderr, "Unable to create output directory", OUTPUTDIR[CDD] |
| 235 |
|
|
| 236 |
outputfile = OUTPUTDIR[CDD] + "index.php" |
outputfile = OUTPUTDIR[CDD] + "index.php" |
| 237 |
|
# Remove the file first, to enable other users to change permissions easily |
| 238 |
|
os.unlink(outputfile) |
| 239 |
f = open(outputfile, "w") |
f = open(outputfile, "w") |
| 240 |
|
|
| 241 |
tasks = cdeps.tasknames |
tasks = cdeps.tasknames |
| 257 |
|
|
| 258 |
for task in tasks: |
for task in tasks: |
| 259 |
outputfile = OUTPUTDIR[CDD] + task + '.php' |
outputfile = OUTPUTDIR[CDD] + task + '.php' |
| 260 |
|
os.unlink(outputfile) |
| 261 |
f = open(outputfile, "w") |
f = open(outputfile, "w") |
| 262 |
|
|
| 263 |
# This is to avoid useless <br>eaks before closing the cell |
# This is to avoid useless <br>eaks before closing the cell |