Skip to content

Commit 7694fd3

Browse files
comphilipcimnine
andauthored
use extend method for simplification.
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
1 parent a3c21ae commit 7694fd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/ldap_config.docker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ def __getattr__(name):
1717
def __dir__():
1818
names = []
1919
for config in _loaded_configurations:
20-
for name in config.__dir__():
21-
names.append(name)
20+
names.extend(config.__dir__())
2221
return names

0 commit comments

Comments
 (0)