Update lfpwToSigset.py

Fix syntax error when running in Python 3
while maintaining Python 2 compatability
Merge pull request #147 from yuvadm/patch-1

Update lfpwToSigset.py