git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389428 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2012-09-24 15:25:13 +00:00
parent 33d2e1c77a
commit 948fd1fe0b
1 changed files with 1 additions and 2 deletions

View File

@ -117,7 +117,7 @@ def getHREFs(urlString):
html = urllib.request.urlopen(urlString).read().decode('UTF-8')
except:
print('\nFAILED to open url %s' % urlString)
tracekback.print_exc()
traceback.print_exc()
raise
for subUrl, text in reHREF.findall(html):
@ -1117,7 +1117,6 @@ if __name__ == '__main__':
try:
main()
except:
import traceback
traceback.print_exc()
sys.exit(1)
sys.exit(0)