mirror of https://github.com/apache/lucene.git
fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389428 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
33d2e1c77a
commit
948fd1fe0b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue