fix pylint warnings in rdp module
Merge pull request #7547 from hulu/rdp-pylint-fixes

fix pylint warnings in rdp module