title: SyntaxError: invalid syntax to repo init in the AOSP code
body: <p>I have tried to repo init the source code Ubuntu build machine and it is successfully able to clone the code.</p>
  <p>repo init -u git@github.com:xxx/xx_manifest.git -b xxx</p>
  <p>Now I am trying repo init the source code in VM Ubuntu machine.</p>
  <p>In between getting the error like below:</p>
  <pre><code>Traceback (most recent call last):
   File &quot;/xxx/.repo/repo/main.py&quot;, line 56, in &lt;module&gt;
  from subcmds.version import Version
   File &quot;/xxx/.repo/repo/subcmds/__init__.py&quot;, line 38, in &lt;module&gt;
  ['%s' % name])
   File &quot;/xxx/.repo/repo/subcmds/upload.py&quot;, line 27, in &lt;module&gt;
  from hooks import RepoHook
  File &quot;/xxx/.repo/repo/hooks.py&quot;, line 472
  file=sys.stderr)
      ^
   SyntaxError: invalid syntax
  </code></pre>
  <p>python version is same in build machine and vm machine 2.7.17.</p>