hhatto/autopep8 — pull request #2 by myint (2011-12-02 04:40:18+00:00)
Title: Make fix_e303() safer

I found an error that occurs when formatting something like the following. Note that the first line contains 4 spaces.

file.py:

```python

# alpha

1
```

The comment gets eaten. See below:

```
$ autopep8 file.py

1
```

My pull request doesn't fix the underlying problem, but makes fix_e303() a bit safer by allowing it to only remove whitespace. See below for the new output:

```
$ autopep8 file.py

# alpha
1
```