1.1 --- a/micropython/trans.py Sat Nov 28 19:33:52 2009 +0100
1.2 +++ b/micropython/trans.py Sat Nov 28 21:14:44 2009 +0100
1.3 @@ -331,8 +331,12 @@
1.4
1.5 try:
1.6 attr = self.objtable.access(target_name, target_name)
1.7 +
1.8 + # Where no attribute entry exists, the target could be a module.
1.9 +
1.10 except TableError, exc:
1.11 - raise TranslateError(self.module.full_name(), node, exc.args[0])
1.12 + print "Possible guard for", target_name, "not enforceable."
1.13 + continue
1.14
1.15 after_test_block = self.new_block()
1.16