Permalink
Browse files

resource sends both and has to right now.

It is a fucking mess. Sorry.
  • Loading branch information...
1 parent 4f16fae commit 39188fb5f0e00db52aeb11678bc1b027627c56c2 @reedobrien reedobrien committed Oct 3, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 lumin/node.py
View
@@ -301,8 +301,13 @@ def __init__(self,
spec={}):
super(ContextBySpec, self).__init__(request, name)
- if _id and spec:
- raise AssertionError("provide either an _id or a spec not both")
+ ## We can't limit to one or the other. Currently resource in
+ ## cam sends both. Saddly this is horribly broken, yet
+ ## works. One Fine day we will refactor this and cam and make
+ ## it make more sense. For now no time. I really hate this no
+ ## time shit.
+ # if _id and spec:
+ # raise AssertionError("provide either an _id or a spec not both")
self._spec = spec
if _id:
## If we get an ID use it instad od the multi key spec

0 comments on commit 39188fb

Please sign in to comment.