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
Fix #653: Add missing __dir__ to configuration.py
This commit is contained in:
@@ -82,3 +82,10 @@ def __getattr__(name):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
raise AttributeError
|
raise AttributeError
|
||||||
|
|
||||||
|
|
||||||
|
def __dir__():
|
||||||
|
names = []
|
||||||
|
for config in _loaded_configurations:
|
||||||
|
names.extend(config.__dir__())
|
||||||
|
return names
|
||||||
|
|||||||
Reference in New Issue
Block a user