(bug 60610) define variables mysite, linktrail, pep8 changes

synchronized with core, rebased

Change-Id: I1b30397063e24f920b11ee6ae485cf0e72eb3fce
Merge "(bug 60610) define variables mysite, linktrail, pep8 changes"