diff options
author | uditgulati | 2021-01-05 13:13:28 -0600 |
---|---|---|
committer | uditgulati | 2021-01-05 13:13:28 -0600 |
commit | 1e7a4d76fa36d1476fe37ae9b4c0a946fe99bce1 (patch) | |
tree | 0d18520e09fa0edce0080c773d0edd14750b855c /wqflask/base/GeneralObject.py | |
parent | e106f5888cb4d761a6dcb71dc0273e461ef3c71a (diff) | |
parent | e36d40d64c1cf8476002c46b5c9dba308151f75c (diff) | |
download | genenetwork2-1e7a4d76fa36d1476fe37ae9b4c0a946fe99bce1.tar.gz |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into snp_browser_changes
Diffstat (limited to 'wqflask/base/GeneralObject.py')
-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): |