mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
refactor: move traceback import to top-level imports
This commit is contained in:
parent
f2bbf708f2
commit
a2fd3cc190
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import copy
|
||||
import os
|
||||
import tempfile
|
||||
import traceback
|
||||
|
||||
from dynaconf import Dynaconf
|
||||
from starlette_context import context
|
||||
|
|
@ -43,7 +44,6 @@ def apply_repo_settings(pr_url):
|
|||
merge_enabled=False, # Don't allow merging from other sources
|
||||
)
|
||||
except TypeError as e:
|
||||
import traceback
|
||||
# Fallback for older Dynaconf versions that don't support these parameters
|
||||
get_logger().warning(
|
||||
"Your Dynaconf version does not support disabled 'load_dotenv'/'merge_enabled' parameters. "
|
||||
|
|
|
|||
Loading…
Reference in a new issue