Moved trace.py to utils

This patch moves trace.py to the utils directory
This commit is contained in:
Hemna 2022-07-07 10:47:34 -04:00
parent 29b84b453b
commit a62843920a
14 changed files with 26 additions and 16 deletions

View File

@ -6,8 +6,9 @@ import aprslib
from aprslib.exceptions import LoginError
from aprsd import config as aprsd_config
from aprsd import exception, trace
from aprsd import exception
from aprsd.clients import aprsis, kiss
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -8,8 +8,9 @@ import logging
import click
# local imports here
from aprsd import cli_helper, client, messaging, packets, plugin, stats, trace
from aprsd import cli_helper, client, messaging, packets, plugin, stats
from aprsd.aprsd import cli
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -14,10 +14,9 @@ from rich.console import Console
# local imports here
import aprsd
from aprsd import (
cli_helper, client, messaging, packets, stats, threads, trace, utils,
)
from aprsd import cli_helper, client, messaging, packets, stats, threads, utils
from aprsd.aprsd import cli
from aprsd.utils import trace
# setup the global logger

View File

@ -7,10 +7,11 @@ import click
import aprsd
from aprsd import (
cli_helper, client, flask, messaging, packets, plugin, stats, threads,
trace, utils,
utils,
)
from aprsd import aprsd as aprsd_main
from aprsd.aprsd import cli
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -11,7 +11,8 @@ import time
import imapclient
from validate_email import validate_email
from aprsd import messaging, plugin, stats, threads, trace
from aprsd import messaging, plugin, stats, threads
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -2,7 +2,8 @@ import logging
import shutil
import subprocess
from aprsd import plugin, trace
from aprsd import plugin
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -2,7 +2,8 @@ import logging
import re
import time
from aprsd import plugin, plugin_utils, trace
from aprsd import plugin, plugin_utils
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -1,6 +1,7 @@
import logging
from aprsd import messaging, packets, plugin, trace
from aprsd import messaging, packets, plugin
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -1,7 +1,8 @@
import logging
import time
from aprsd import plugin, trace
from aprsd import plugin
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -2,7 +2,8 @@ import datetime
import logging
import re
from aprsd import messaging, plugin, trace
from aprsd import messaging, plugin
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -5,8 +5,8 @@ import time
from opencage.geocoder import OpenCageGeocode
import pytz
from aprsd import plugin, plugin_utils, trace
from aprsd.utils import fuzzy
from aprsd import plugin, plugin_utils
from aprsd.utils import fuzzy, trace
LOG = logging.getLogger("APRSD")

View File

@ -1,7 +1,8 @@
import logging
import aprsd
from aprsd import plugin, stats, trace
from aprsd import plugin, stats
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")

View File

@ -4,7 +4,8 @@ import re
import requests
from aprsd import plugin, plugin_utils, trace
from aprsd import plugin, plugin_utils
from aprsd.utils import trace
LOG = logging.getLogger("APRSD")