[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] make pygrub cope better with big files in guest



Ian Jackson writes ("Re: [Xen-devel] [PATCH] make pygrub cope better with big 
files in guest"):
> Also the two bits of code which read the kernel and ramdisk are now
> much larger and very similar to each other.  Couldn't this be
> refactored to have less duplication ?

And, would shutil.copyfileobj be of any use ?  It goes back as far as
Python 2.3 at least.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.