diff --git a/gluon/languages.py b/gluon/languages.py index 6262500b..9ed60f9c 100644 --- a/gluon/languages.py +++ b/gluon/languages.py @@ -392,6 +392,12 @@ class lazyT(object): def __eq__(self, other): return str(self) == str(other) + def __lt__(self, other): + return str(self) < str(other) + + def __gt__(self, other): + return str(self) > str(other) + def __ne__(self, other): return str(self) != str(other)