SeattleTestbed / softwareupdater

Software updater daemon
MIT License
1 stars 6 forks source link

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

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

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.

choksi81 commented 10 years ago

Author: cemeyer Fixed in r2643.