diff --git a/conf/format-options.py b/conf/format-options.py index 5f850af00..d046e24ca 100755 --- a/conf/format-options.py +++ b/conf/format-options.py @@ -67,8 +67,8 @@ class ConfigOption: self.desc = [] self.options = [] - def __cmp__(self, other): - return cmp(self.name, other.name) + def __lt__(self, other): + return self.name < other.name def add_paragraph(self): """Adds a new paragraph to the description"""