Skip to content

Commit 1be805c

Browse files
committed
Merge pull request #271 from personalrobotics/feature/named_config_list
Adding ability to get a list of named configurations.
2 parents 3886072 + 40244f1 commit 1be805c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/prpy/named_config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,9 @@ def get_configuration(self, name):
112112
return self._configs[name]
113113
else:
114114
raise KeyError('There is no configuration named %s.' % name)
115+
116+
"""
117+
: return known_configurations: A list of named configurations
118+
"""
119+
def get_configuration_list(self):
120+
return self._configs.keys()

0 commit comments

Comments
 (0)