mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
style: format imports and string quotes
This commit is contained in:
parent
f63a095a37
commit
68a4f58480
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
import sys
|
import sys
|
||||||
|
import traceback
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import webbrowser
|
import webbrowser
|
||||||
import traceback
|
|
||||||
|
|
||||||
from aider import __version__
|
from aider import __version__
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ def report_github_issue(issue_text, title=None):
|
||||||
def exception_handler(exc_type, exc_value, exc_traceback):
|
def exception_handler(exc_type, exc_value, exc_traceback):
|
||||||
# Format the traceback
|
# Format the traceback
|
||||||
tb_lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
tb_lines = traceback.format_exception(exc_type, exc_value, exc_traceback)
|
||||||
tb_text = ''.join(tb_lines)
|
tb_text = "".join(tb_lines)
|
||||||
|
|
||||||
# Prepare the issue text
|
# Prepare the issue text
|
||||||
issue_text = f"An uncaught exception occurred:\n\n```\n{tb_text}\n```"
|
issue_text = f"An uncaught exception occurred:\n\n```\n{tb_text}\n```"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue