Remove trailing whitespaces in environment.py
Code method GetPlatform