~ubuntu-branches/ubuntu/wily/heat/wily

« back to all changes in this revision

Viewing changes to heat/engine/plugin_manager.py

  • Committer: Package Import Robot
  • Author(s): Corey Bryant, Corey Bryant, James Page
  • Date: 2015-07-07 17:06:19 UTC
  • mfrom: (1.1.26) (45.1.1 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20150707170619-hra2dbjpfofpou4s
Tags: 1:5.0.0~b1-0ubuntu1
[ Corey Bryant ]
* New upstream milestone for OpenStack Liberty:
  - d/control: Align (build-)depends with upstream.
  - d/p/fix-requirements.patch: Rebased.
  - d/p/sudoers_patch.patch: Rebased.

[ James Page ]
* d/s/options: Ignore any removal of egg-info data during package clean.
* d/control: Drop MySQL and PostgreSQL related BD's, not required for unit
  testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
                                                  'heat.engine')
52
52
 
53
53
        def modules():
54
 
            pkg_modules = itertools.imap(plugin_loader.load_modules,
55
 
                                         packages())
 
54
            pkg_modules = six.moves.map(plugin_loader.load_modules,
 
55
                                        packages())
56
56
            return itertools.chain.from_iterable(pkg_modules)
57
57
 
58
58
        self.modules = list(modules())
59
59
 
60
60
    def map_to_modules(self, function):
61
61
        '''Iterate over the results of calling a function on every module.'''
62
 
        return itertools.imap(function, self.modules)
 
62
        return six.moves.map(function, self.modules)
63
63
 
64
64
 
65
65
class PluginMapping(object):