Not really needed as your
```
if not line.strip():
    pass
```
would handle it and removing this call would make you a little more robust to git removing the blank lines. (PS I'd use a continue instead of a pass personally).  Also it you lose this, you avoid the need to use ```iter```.