~smoser/ubuntu/utopic/cloud-init/sysvinit

« back to all changes in this revision

Viewing changes to cloudinit/importer.py

  • Committer: Scott Moser
  • Date: 2014-07-24 14:45:29 UTC
  • mfrom: (1.4.19)
  • Revision ID: smoser@ubuntu.com-20140724144529-12uutq0wz1vlfjw0
* New upstream snapshot.
  * less noisy logs
  * allow usage of jinja2 templates (LP: #1219223)
  * test case cleanups
  * change build system to be dh and pybuild

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        real_path.append(base_name)
46
46
        full_path = '.'.join(real_path)
47
47
        real_paths.append(full_path)
48
 
    LOG.debug("Looking for modules %s that have attributes %s",
49
 
              real_paths, required_attrs)
50
48
    for full_path in real_paths:
51
49
        mod = None
52
50
        try:
62
60
                found_attrs += 1
63
61
        if found_attrs == len(required_attrs):
64
62
            found_places.append(full_path)
65
 
    LOG.debug("Found %s with attributes %s in %s", base_name,
66
 
              required_attrs, found_places)
67
63
    return found_places