[01:59] <harlowja> smoser alright, taking another stab @ https://code.launchpad.net/~harlowja/cloud-init/py2-3 (WIP)
[13:24] <smoser> harlowja_away, whoohoo
[15:36] <CatKiller> smoser: I'm nearly done integrating the resize operation. I've wasted most of the time finding a way to compute the size delta thinking that only "+size" operations were supported by qemu-img, not realizing you could simply specify the size by itself...
[15:36] <smoser> :)
[15:38] <CatKiller> smoser: And to do that in bash was really hard :P Since bash doesn't handle floats etc. Well anyways I'll keep this one in my archive as it's full of handy snippets
[15:38] <CatKiller> smoser: The much much simpler version will come soon
[15:40] <smoser> floating point is possible in bash, but can be tricky
[15:40] <smoser> http://smoser.brickies.net/git/?p=snippits.git;a=blob;f=sh/fpdiv;h=7336f6c3b981082b7f8a39e73c0047f10193f303;hb=HEAD
[15:40] <smoser> (if its not obvious, that is floating point division in bash)
[15:41] <smoser> er... actually in posix sh
[17:04] <CatKiller> smoser: Nice, good module actually to keep
[21:42] <harlowja> smoser will do some tests on that, but the basic approach is to start nailing the crap that is changed in 3.x with six usage
[21:42] <harlowja> just gotta hit all the cases (which is hard, ha)
[22:47] <harlowja> smoser https://code.launchpad.net/~harlowja/cloud-init/py2-3/+merge/225240 ; hopefully helps get this going
[22:47] <harlowja> the basics at least, doesn't fully work on py3 i think, but a step
[22:47] <harlowja> at least imports all fine under 3.4 (unless i missed a few modules)