mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2024-11-29 03:13:09 +01:00
Merge pull request #656 from tobiasge/fix-653
Add __dir__ to configuration file
This commit is contained in:
commit
4b7037bbe6
@ -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