mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-07 08:34:00 +01:00
Fix #653: Add missing __dir__ to configuration.py
This commit is contained in:
parent
544a58325d
commit
f183603bc0
@ -82,3 +82,10 @@ def __getattr__(name):
|
||||
except:
|
||||
pass
|
||||
raise AttributeError
|
||||
|
||||
|
||||
def __dir__():
|
||||
names = []
|
||||
for config in _loaded_configurations:
|
||||
names.extend(config.__dir__())
|
||||
return names
|
||||
|
Loading…
Reference in New Issue
Block a user