Commit 518e48b2 authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #18441: fix buildbot name-error for TclError.

parent 7af16b38
...@@ -10,7 +10,7 @@ if use_resources and 'gui' in use_resources: ...@@ -10,7 +10,7 @@ if use_resources and 'gui' in use_resources:
try: try:
root = tk.Tk() root = tk.Tk()
root.destroy() root.destroy()
except TclError: except tk.TclError:
while True: while True:
use_resources.delete('gui') use_resources.delete('gui')
if 'gui' not in use_resources: if 'gui' not in use_resources:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment