Suppress error messages from missing repositories.

This commit is contained in:
Asher Baker 2015-11-05 11:06:43 +00:00
parent e8eb9970a6
commit 625f225448

View File

@ -72,7 +72,7 @@ for line in lines:
url = runCommand(['git', 'ls-remote', '--get-url', 'origin'])
rev = runCommand(['git', 'log', '--pretty=format:%H', '-n', '1'])
except (OSError, RuntimeError) as e:
sys.stderr.write(str(e) + '\n')
#sys.stderr.write(str(e) + '\n')
continue
roots[root] = (url, rev)