Permalink
Browse files

Remove invalid comments

  • Loading branch information...
1 parent 77272cf commit f527e812374f53eab219b42c81bd2cb4958c934a @dcramer dcramer committed Oct 10, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 nydus/db/base.py
View
@@ -251,8 +251,6 @@ def __delslice__(self, i, j):
__enter__ = lambda x: x.__enter__()
__exit__ = lambda x, *a, **kw: x.__exit__(*a, **kw)
- ## public api commands cannot define an arg spec as they must proxy through after
- ## the command has been resolved
@promise_method
def resolve(self, *args, **kwargs):
value = getattr(args[0], self.__attr)(*self.__args, **self.__kwargs)
@@ -261,8 +259,6 @@ def resolve(self, *args, **kwargs):
@promise_method
def resolve_as(self, *args, **kwargs):
self.__wrapped = args[0]
- # HACK: swap out base class so types are correct
- # self.__class__ = type(value)
self.__resolved = True
return args[0]

0 comments on commit f527e81

Please sign in to comment.