switch CLI import to TEMP_DIR location; see new Utils functs

svn: r9409
This commit is contained in:
James G Sack
2007-11-26 05:41:04 +00:00
parent 97a720945f
commit 63a3f8479b
4 changed files with 47 additions and 49 deletions

View File

@@ -1,3 +1,13 @@
2007-11-25 Jim Sack <jgsack@san.rr.com>
* src/Utils.py : add get_empty_tempdir() and rm_tempdir()
* src/ArgHandler.py : use get_empty_tempdir, etc
* src/test/gramps_cli_test.py : update test for new import dir
- Note get_empty_tempdir forces location in (new) const.TEMP_DIR.
- Note rm_tempdir is paranoid in only removing subdirs under
TEMP_DIR -- if needed callers can code shutil.rmtree themselves.
- Also added FIXME comment in AH - about a prior comment and
code change that I feel needs re-examination.
2007-11-25 Jim Sack <jgsack@san.rr.com>
* src/gramps_main.py : remove trial code left in on last commit
the r9407 trial code may be of interest as it demos how I avoid