diff options
author | BonfaceKilz | 2020-11-11 14:40:18 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-11-11 14:40:18 +0300 |
commit | dbeefadc25fb2bc6e04b4baa4b35bbbd5298e880 (patch) | |
tree | 9ae956af7a43465851e4f786d416755e890337d8 /wqflask/base | |
parent | 394a67ca2f28b18aa3ea8398ca48661985be8f5a (diff) | |
parent | 25f7d30b9f052ec5d812bfe3bf9713df850cc267 (diff) | |
download | genenetwork2-dbeefadc25fb2bc6e04b4baa4b35bbbd5298e880.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into feature/add-glossary-page
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/GeneralObject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/GeneralObject.py b/wqflask/base/GeneralObject.py index 0122ee32..249195e2 100644 --- a/wqflask/base/GeneralObject.py +++ b/wqflask/base/GeneralObject.py @@ -28,7 +28,7 @@ class GeneralObject: """ Base class to define an Object. a = [Spam(1, 4), Spam(9, 3), Spam(4,6)] - a.sort(lambda x, y: cmp(x.eggs, y.eggs)) + a.sort(key = lambda x: x.eggs) """ def __init__(self, *args, **kw): |