1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-11-18 06:11:49 -05:00

Fixed pep8

This commit is contained in:
Hemna 2024-02-28 16:24:01 -05:00
parent ff051bc285
commit d1a09fc6b5
2 changed files with 36 additions and 4 deletions

View File

@ -1,6 +1,38 @@
CHANGES CHANGES
======= =======
v3.3.0
------
* Change defaults for beacon and registry
* Add log info for Beacon and Registry threads
* fixed frequency\_seconds to IntOpt
* fixed references to conf
* changed the default packet timeout to 5 minutes
* Fixed default service registry url
* fix pep8 failures
* py311 fails in github
* Don't send uptime to registry
* Added sending software string to registry
* add py310 gh actions
* Added the new APRS Registry thread
* Added installing extensions to Docker run
* Cleanup some logs
* Added BeaconPacket
* updated requirements files
* removed some unneeded code
* Added iterator to objectstore
* Added some missing classes to threads
* Added support for loading extensions
* Added location for callsign tabs in webchat
* updated gitignore
* Create codeql.yml
* update github action branchs to v8
* Added Location info on webchat interface
* Updated dev test-plugin command
* Update requirements.txt
* Update for v3.2.3
v3.2.3 v3.2.3
------ ------

View File

@ -89,6 +89,7 @@ def get_module_info(package_name, module_name, module_path):
return obj_list return obj_list
def _get_installed_aprsd_items(): def _get_installed_aprsd_items():
# installed plugins # installed plugins
plugins = {} plugins = {}
@ -108,11 +109,12 @@ def _get_installed_aprsd_items():
return plugins, extensions return plugins, extensions
def get_installed_plugins(): def get_installed_plugins():
# installed plugins # installed plugins
plugins, extensions = _get_installed_aprsd_items() plugins, extensions = _get_installed_aprsd_items()
return plugins return plugins
def get_installed_extensions(): def get_installed_extensions():
# installed plugins # installed plugins
plugins, extensions = _get_installed_aprsd_items() plugins, extensions = _get_installed_aprsd_items()
@ -216,6 +218,7 @@ def show_pypi_plugins(installed_plugins, console):
console.print("\n") console.print("\n")
console.print(table) console.print(table)
def show_pypi_extensions(installed_extensions, console): def show_pypi_extensions(installed_extensions, console):
snippets = _get_pypi_packages() snippets = _get_pypi_packages()
@ -314,6 +317,3 @@ def list_extensions(ctx):
status.update("Fetching pypi.org APRSD Extensions") status.update("Fetching pypi.org APRSD Extensions")
installed_extensions = get_installed_extensions() installed_extensions = get_installed_extensions()
show_pypi_extensions(installed_extensions, console) show_pypi_extensions(installed_extensions, console)
status.update("Looking for installed APRSD plugins")
#show_installed_extensions(installed_plugins, console)