Merge changes Ie7318b61,Ie0d350f2

* changes:
  repo-pull: Fix pylint errors
  repo-pull: Fix undefined variable in except clause