diff options
author | lloyd <[email protected]> | 2011-05-03 15:04:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-05-03 15:04:36 +0000 |
commit | 8843bede27531c936b70fd2e869ff4f1dbc7c3c1 (patch) | |
tree | a487fc9ebfafa8c1c7ee1e6d35020b24de116d77 /configure.py | |
parent | 8b2e5f9d9744f74ee65deb7f9990c1bf468a7602 (diff) |
Print comments only on modules that will be used
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/configure.py b/configure.py index 2a8280061..b35871c8b 100755 --- a/configure.py +++ b/configure.py @@ -540,8 +540,9 @@ class ModuleInfo(object): self.uses_tr1 = (True if self.uses_tr1 == 'yes' else False) if self.comment != []: - logging.info('Module comment for ' + self.basename + ' - ' + - ' '.join(self.comment)) + self.comment = ' '.join(self.comment) + else: + self.comment = None def sources(self): return self.source @@ -1228,6 +1229,10 @@ def choose_modules_to_use(modules, archinfo, options): logging.debug('Loading modules %s', ' '.join(sorted(to_load))) + for mod in to_load: + if modules[mod].comment: + logging.info('%s: %s' % (mod, modules[mod].comment)) + return [modules[mod] for mod in to_load] """ |