SeattleTestbed / attic

ARCHIVAL: Full mirror of SeattleTestbed's SVN in early 2014. We use GitHub since!
MIT License
0 stars 1 forks source link

softwareupdater can't update directories #1328

Closed choksi81 closed 10 years ago

choksi81 commented 10 years ago

The softwareupdater fails when we try to push an updated 'directory' (rather than file). One problem is in the safe_download function, where we blindly download via urllib to a subdirectory within the updater's temporary space that might not exist.

Similarly, when copying over files from the temporary space, we need to make sure that the destination directory exists before attempting to copy.

Leonard is working on a patch to fix that.