diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-05-27 13:21:16 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-05-27 13:21:16 (GMT) |
commit | f5f4c5ee4992fb938d5137638f984424ddcab1ac (patch) | |
tree | 721aebc266bd69d7b60170d8e4fb9fcdecdc562d | |
parent | 3e8b17d45811241258ebc8d34818c9a2bce54160 (diff) |
Blacklist the cairo typelib so it doesn't conflict with the cairo python module
-rw-r--r-- | bank/importer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bank/importer.py b/bank/importer.py index ed64764..232354b 100644 --- a/bank/importer.py +++ b/bank/importer.py @@ -29,6 +29,8 @@ class DynamicImporter(object): @staticmethod def find_module(name, path=None): + if name == 'cairo': + return None namespace = repository.require(name) if namespace: return DynamicImporter(name, path) |