# and this leads to the old file sitting in there forever
# so, if the file is older than 5 minutes, we just trash
grace=5
# and this leads to the old file sitting in there forever
# so, if the file is older than 5 minutes, we just trash
grace=5
os.unlink(filename)
if os.path.exists(filename):
raise PLCInvalidArgument, "Resulting file %s already exists - please try again in %d minutes"%\
os.unlink(filename)
if os.path.exists(filename):
raise PLCInvalidArgument, "Resulting file %s already exists - please try again in %d minutes"%\