Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@sugarlabs.org>2009-05-27 13:21:16 (GMT)
committer Tomeu Vizoso <tomeu@sugarlabs.org>2009-05-27 13:21:16 (GMT)
commitf5f4c5ee4992fb938d5137638f984424ddcab1ac (patch)
tree721aebc266bd69d7b60170d8e4fb9fcdecdc562d
parent3e8b17d45811241258ebc8d34818c9a2bce54160 (diff)
Blacklist the cairo typelib so it doesn't conflict with the cairo python module
-rw-r--r--bank/importer.py2
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)