1003285 - fixed an attribute access for an attribute that doesn't exist in python 2.6.
added a doc block
formatting consistency
Merge pull request #600 from pulp/mhrivnak-1003285

Mhrivnak 1003285