Remove worthless print
The traceback isn't even formatted, so we just get something like <traceback object at 0x7fd30809f440> Change-Id: Iacbb01bdcede40e07058b46d907cd3184bfa4880
This commit is contained in:
@@ -781,7 +781,6 @@ def check_remote(branch, remote, scheme, hostname, port, project,
|
|||||||
try:
|
try:
|
||||||
add_remote(scheme, hostname, port, project, remote, usepushurl)
|
add_remote(scheme, hostname, port, project, remote, usepushurl)
|
||||||
except Exception:
|
except Exception:
|
||||||
print(sys.exc_info()[2])
|
|
||||||
if usepushurl:
|
if usepushurl:
|
||||||
printwrap("We don't know where your gerrit is. Please manually"
|
printwrap("We don't know where your gerrit is. Please manually"
|
||||||
" add a push-url to the '%s' remote and try again."
|
" add a push-url to the '%s' remote and try again."
|
||||||
|
|||||||
Reference in New Issue
Block a user