Fix choices output in simple format

This commit is contained in:
Vincent Untz 2010-04-16 22:25:31 -04:00
parent c4036752ba
commit 881261e957

View File

@ -254,7 +254,7 @@ class GSettingsSchemaKey:
if self.description:
result += '%sDescription: %s\n' % (current_indent, self.description)
if self._has_range_choices():
result += '%sRange: %s\n' % ', '.join(self.choices)
result += '%sChoices: %s\n' % ', '.join(self.choices)
elif self._has_range_minmax():
result += '%sRange: %s\n' % '%s..%s' % self._range_minmax
return result