diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-07 16:38:58 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-07 16:38:58 +0000 |
| commit | e2a9d52972648109cb9e8b7bd4e8a66c1acd03f1 (patch) | |
| tree | e8794c8b1ec15ca12b6885ed4d8893625431a473 /TODO.txt | |
| parent | be906efca6dc0f8da7225102d9b25daba1daffa8 (diff) | |
| download | pyramid-e2a9d52972648109cb9e8b7bd4e8a66c1acd03f1.tar.gz pyramid-e2a9d52972648109cb9e8b7bd4e8a66c1acd03f1.tar.bz2 pyramid-e2a9d52972648109cb9e8b7bd4e8a66c1acd03f1.zip | |
garden
Diffstat (limited to 'TODO.txt')
| -rw-r--r-- | TODO.txt | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -72,6 +72,25 @@ view_permission="something_random" inside every <route>, so that those alc's kick in? or am I doing it completely wrong? +- Need to allow view configs that contain custom predicates a shot at + comparing the same + View configs compare equal if their "phash" is the same + + We'll have to extend bfg to let it compute a phash from a custom + predicate right now, it just uses the id of the predicate. Right + now it does: + + for num, predicate in enumerate(custom): + predicates.append(predicate) + h.update('custom%s:%r' % (num, id(predicate))) + + I'll have to make it do: + + for num, predicate in enumerate(custom): + predicates.append(predicate) + h.update('custom%s:%r' % (num, get_phash(predicate))) + + where get_phash does something sensible but falls back to id |
