Update vine.py

replace those lines with one liner
Merge pull request #2 from mengu/patch-2

Update vine.py