Skip to content
Browse files

minor

  • Loading branch information...
1 parent 4b94e6f commit 957a374ac4bc17b83c79699541a9923ddbd0c95c @alexcepoi committed Feb 9, 2012
Showing with 2 additions and 3 deletions.
  1. +1 −2 pyscale/lib/module.py
  2. +1 −1 setup.py
View
3 pyscale/lib/module.py
@@ -2,7 +2,6 @@
# -*- coding: utf-8 -*-
import inspect
-import types
import logging
import os
import os.path as osp
@@ -54,7 +53,7 @@ def __init__(self, context=None):
for base in bases:
for func in base.__dict__.values():
if getattr(func, 'job', None):
- method = types.MethodType(func, self, self.__class__)
+ method = func.__get__(self, self.__class__)
self.jobs.spawn(method)
View
2 setup.py
@@ -5,7 +5,7 @@
setup(
name = 'pyscale',
- version = '0.1',
+ version = '0.1.1',
platforms = 'linux',
license = 'GPLv3',

0 comments on commit 957a374

Please sign in to comment.
Something went wrong with that request. Please try again.