Browse Source

f(*a, x=1, **kwargs) does not work on py <2.6

Ask Solem 14 years ago
parent
commit
56c7785929
1 changed files with 2 additions and 1 deletions
  1. 2 1
      setup.py

+ 2 - 1
setup.py

@@ -40,7 +40,8 @@ def with_dist_not_in_path(fun):
             except ImportError, exc:
                 pass
             else:
-                return fun(*args, celery=existing_module, **kwargs)
+                kwargs["celery"] = existing_module
+                return fun(*args, **kwargs)
         finally:
             for i, path in removed:
                 sys.path.insert(i, path)