Closed DEVoytas closed 6 years ago
Thank you for your contribution.
GitException is actually raised a few lines above where you added the except
statement and is caught in a couple of places:
So we need to continue to raise it, rather than failing immediately.
Can you please move the except statement to:
File "/usr/local/lib/python3.5/dist-packages/subuserlib/classes/registry.py", line 62, in ensureGitRepoInitialized
self.gitRepository.run(["init"])
Looks good.
Induce the issue:
git config --global init.templatedir "/tmp/non-existing"
without the fix:
with the fix: