wdas/reposado — pull request #17 by moschlar (2012-11-21 21:00:54+00:00)
Title: Rewrite windows-safe os_rename method

For some reason, the other implementation failed to do what it should on windows so I decided to make a nicer implementation that even safes CPU cycles for all users and especially for UNIX users ;).

- Using ``try..except`` is much more in the sense of the Zen of Python
- Also we only check ``os.name`` once and not every time ``os_rename`` is called