[Fedora-livecd-list] [PATCH] More movement away from os.system

Jeremy Katz katzj at redhat.com
Wed Feb 21 03:28:51 UTC 2007


On Tue, 2007-02-20 at 18:04 -0500, Jeremy Katz wrote:
> Attached patch moves more things to using subprocess instead of
> os.system.  Also we use shutil for copying things around instead of
> shelling out to /bin/cp.

Forgot a bit of the patch going between my testing box and where I'm
actually working...  attached incremental patch fixes to use shutil.copy
instead of shutil.copytree in a few cases so that we preserve perms as
relevant

Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: livecd-fixcopy.patch
Type: text/x-patch
Size: 836 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070220/e8323227/attachment.bin>


More information about the Fedora-livecd-list mailing list