Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
More generic solution with os.remove()
Browse files Browse the repository at this point in the history
  • Loading branch information
alixander committed Dec 30, 2014
1 parent 16da26f commit d38dc8d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
7 changes: 0 additions & 7 deletions asdf.py

This file was deleted.

9 changes: 0 additions & 9 deletions asdf_desugared.py

This file was deleted.

4 changes: 2 additions & 2 deletions pyscribe/pyscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import random
import string
import sys
import os
import ast
import re
import inspect
Expand Down Expand Up @@ -341,8 +342,7 @@ def main():
else:
subprocess.call(['python', desugared_copy])
if not args.desugared:
# TODO: Figure out a permenant solution. This only works on *nix machines
subprocess.call(['rm', desugared_copy])
os.remove(desugared_copy)

if __name__ == "__main__":
main()

0 comments on commit d38dc8d

Please sign in to comment.