reidmefirst/Modshaft — pull request #1 by moshekaplan (2013-06-25 03:36:27+00:00)
Title: minor pythonic improvement

See http://docs.python.org/2/library/stdtypes.html#str.rjust

note: an alternate approach is
tpacket += "\x00" * padbytes