pypa/virtualenv — pull request #255 by alexandrul (2012-04-12 17:57:57+00:00)
Title: writefile: fix content comparison

When running twice the same command to create a virtual environment I get the following error:

```
k:\py\virtualenv\virtualenv.py:446: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if c != content:
Overwriting a1\Scripts\activate.ps1 with new content
```

This patch works on my PC.

Environment:

* Python 2.6.6 & 2.7.3
* virtualenv virtualenv 1.7.1.2 & tip
* Windows 7 x64 & Windows Server 2008 x64