SeattleTestbed / softwareupdater

Software updater daemon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using writemetainfo.py creates _repy.py files in the current dir...

choksi81 opened this issue · comments

If you run writemetainfo.py, it will create a bunch of *_repy.py files in the current directory. Instead it probably makes sense to write these to a temp dir (using tempfile.mkdtemp?) and clean it up when done.

See the top of nmmain.py or softwareupdater.py to understand how to set up the repyhelper cache to a different dir.

Be sure to use shutil.rmtree to clean up the cache after finished.

Author: cemeyer
Fixed in r2643.