svinota/pyroute2 — pull request #79 by wavezhang (2014-11-20 07:37:38+00:00)
Title: Update __init__.py

fix stuct pack error caused by the following scripts when using python2.x:
#!/usr/bin/python -O
from pyroute2 import IPRoute
ipr = IPRoute()
dev = ipr.link_lookup(ifname=str('eth0'))[0]