You've already forked netbox-docker
mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-11-17 00:03:21 +03:00
use extend method for simplification.
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
This commit is contained in:
@@ -17,6 +17,5 @@ def __getattr__(name):
|
|||||||
def __dir__():
|
def __dir__():
|
||||||
names = []
|
names = []
|
||||||
for config in _loaded_configurations:
|
for config in _loaded_configurations:
|
||||||
for name in config.__dir__():
|
names.extend(config.__dir__())
|
||||||
names.append(name)
|
|
||||||
return names
|
return names
|
||||||
|
|||||||
Reference in New Issue
Block a user