Mercurial > lcfOS
diff python/ppci/c3/builder.py @ 334:6f4753202b9a
Added more recipes
author | Windel Bouwman |
---|---|
date | Thu, 13 Feb 2014 22:02:08 +0100 |
parents | 2e7f55319858 |
children | 5477e499b039 |
line wrap: on
line diff
--- a/python/ppci/c3/builder.py Sun Feb 09 15:27:57 2014 +0100 +++ b/python/ppci/c3/builder.py Thu Feb 13 22:02:08 2014 +0100 @@ -31,7 +31,7 @@ """ Scope is attached to the correct modules. """ def addScope(self, pkg): - self.logger.info('Adding scoping to package {}'.format(pkg.name)) + self.logger.debug('Adding scoping to package {}'.format(pkg.name)) self.pkg = pkg # Prepare top level scope and set scope to all objects: self.scopeStack = [self.topScope] @@ -40,7 +40,7 @@ self.visit(pkg, self.enterScope, self.quitScope) assert len(self.scopeStack) == 2 - self.logger.info('Resolving imports for package {}'.format(pkg.name)) + self.logger.debug('Resolving imports for package {}'.format(pkg.name)) # Handle imports: for i in pkg.imports: if i not in self.packages: @@ -95,7 +95,7 @@ def build(self, srcs, imps=[]): """ Create IR-code from sources """ - self.logger.info('Building {} source files'.format(len(srcs))) + self.logger.debug('Building {} source files'.format(len(srcs))) iter(srcs) # Check if srcs are iterable iter(imps) self.ok = True