Closed GoogleCodeExporter closed 8 years ago
Original comment by FrostBox360
on 15 Aug 2012 at 2:15
before I do my first commit - here is my fix for this. I initially just checked
to see if the dest file existed in ItemInstaller.py but then I thought it would
be useful if the renameItem call could handle when dest file exists. I added a
"force" parameter currently defaulting to false (old behaviour), so that you
can force a rename which will delete the destination first. along with this, I
simplified the renameItem code as it had some duplication (two sets of
os.rename depending on whether path set). I also removed some checks that
existed when there was no base path set, as the exception handling will take
care of it, as well as the fact it only checked then and not when there was a
base path.
Original comment by exob...@gmail.com
on 15 Nov 2012 at 8:36
updated patch without whitespace error.
Original comment by exob...@gmail.com
on 15 Nov 2012 at 8:41
Looks good, more efficient. Go ahead you can commit. Thanks!
Original comment by tem...@gmail.com
on 15 Nov 2012 at 11:02
resolved in r1164
Original comment by exob...@gmail.com
on 16 Nov 2012 at 12:10
Original issue reported on code.google.com by
geeky...@gmail.com
on 1 Jul 2012 at 3:53