Permalink
Browse files

Fixes DeprecationWarning.

  • Loading branch information...
1 parent 8dc5183 commit 2ae386c60d50a604eb1a1fae04551d911cb2feda @kurtiss committed Aug 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 shrapnel/classtools.py
View
@@ -21,7 +21,7 @@ def __get__(self, *a):
class UserFunction(object):
def __new__(cls, *args, **kwargs):
- instance = super(UserFunction, cls).__new__(cls, *args, **kwargs)
+ instance = super(UserFunction, cls).__new__(cls)
run = kwargs.pop('run', True)
if run:
return cls._call_from_new(instance, args, kwargs)

0 comments on commit 2ae386c

Please sign in to comment.