title: Getting "except ManifestInvalidRevisionError, e:" upon initializing a repo from Code Aurora
body: <p>I am running a git command for creating a repo inside <code>folder</code></p>
  <pre><code>repo init -u git://codeaurora.org/quic/le/le/manifest.git -b release -m &lt;manifest-file&gt;.xml --repo-url=git://codeaurora.org/tools/repo.git --repo-branch=caf-stable
  </code></pre>
  <p>but I am getting the following error</p>
  <pre><code>  File &quot;/home/user/parent/folder/.repo/repo/main.py&quot;, line 126
      except ManifestInvalidRevisionError, e:
                                      ^
  SyntaxError: invalid syntax
  </code></pre>
  <p>At some other times, I also got the following:</p>
  <pre><code> File &quot;/home/user/parent/folder/.repo/repo/main.py&quot;, line 56, in &lt;module&gt;
      from subcmds.version import Version
    File &quot;/home/user/parent/folder/.repo/repo/subcmds/__init__.py&quot;, line 38, in &lt;module&gt;
      ['%s' % name])
    File &quot;/home/user/parent/folder/.repo/repo/subcmds/upload.py&quot;, line 27, in &lt;module&gt;
      from hooks import RepoHook
    File &quot;/home/user/parent/folder/.repo/repo/hooks.py&quot;, line 472
      file=sys.stderr)
  ^
  SyntaxError: invalid syntax
  </code></pre>
  <p>and I see a warning regarding upgrading to python 3.6+.</p>
  <p>Not sure what's causing it. Is it possibly related to a python version?</p>