diff options
| author | Chris Larson <chris_larson@mentor.com> | 2010-04-11 17:03:55 -0700 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-02 15:41:33 +0100 |
| commit | 1180bab54e2879401f3586c91a48174191a1ee8b (patch) | |
| tree | a45aeee20eb5969cc1ac778fac47134929f4e021 /bitbake/lib/bb/server/none.py | |
| parent | 5b216c8000dbc3ed9f3e996242eb24269fcaf919 (diff) | |
| download | poky-1180bab54e2879401f3586c91a48174191a1ee8b.tar.gz | |
Apply some 2to3 transforms that don't cause issues in 2.6
(Bitbake rev: d39ab776e7ceaefc8361150151cf0892dcb70d9c)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/server/none.py')
| -rw-r--r-- | bitbake/lib/bb/server/none.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/none.py b/bitbake/lib/bb/server/none.py index d4b7fdeea6..e28aa8d7d7 100644 --- a/bitbake/lib/bb/server/none.py +++ b/bitbake/lib/bb/server/none.py | |||
| @@ -115,7 +115,7 @@ class BitBakeServer(): | |||
| 115 | 115 | ||
| 116 | def register_idle_function(self, function, data): | 116 | def register_idle_function(self, function, data): |
| 117 | """Register a function to be called while the server is idle""" | 117 | """Register a function to be called while the server is idle""" |
| 118 | assert callable(function) | 118 | assert hasattr(function, '__call__') |
| 119 | self._idlefuns[function] = data | 119 | self._idlefuns[function] = data |
| 120 | 120 | ||
| 121 | def idle_commands(self, delay): | 121 | def idle_commands(self, delay): |
