diff options
Diffstat (limited to 'scripts/lib/wic/partition.py')
| -rw-r--r-- | scripts/lib/wic/partition.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py index 8e531e4dcc..f8d4274bcd 100644 --- a/scripts/lib/wic/partition.py +++ b/scripts/lib/wic/partition.py | |||
| @@ -30,7 +30,7 @@ import tempfile | |||
| 30 | 30 | ||
| 31 | from wic import WicError | 31 | from wic import WicError |
| 32 | from wic.utils.misc import exec_cmd, exec_native_cmd, get_bitbake_var | 32 | from wic.utils.misc import exec_cmd, exec_native_cmd, get_bitbake_var |
| 33 | from wic.plugin import pluginmgr | 33 | from wic.plugin import PluginMgr |
| 34 | 34 | ||
| 35 | logger = logging.getLogger('wic') | 35 | logger = logging.getLogger('wic') |
| 36 | 36 | ||
| @@ -154,7 +154,7 @@ class Partition(): | |||
| 154 | break | 154 | break |
| 155 | return | 155 | return |
| 156 | 156 | ||
| 157 | plugins = pluginmgr.get_source_plugins() | 157 | plugins = PluginMgr.get_source_plugins() |
| 158 | 158 | ||
| 159 | if self.source not in plugins: | 159 | if self.source not in plugins: |
| 160 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" | 160 | raise WicError("The '%s' --source specified for %s doesn't exist.\n\t" |
| @@ -176,7 +176,7 @@ class Partition(): | |||
| 176 | "do_configure_partition": None | 176 | "do_configure_partition": None |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | methods = pluginmgr.get_source_plugin_methods(self.source, | 179 | methods = PluginMgr.get_source_plugin_methods(self.source, |
| 180 | partition_methods) | 180 | partition_methods) |
| 181 | methods["do_configure_partition"](self, srcparams_dict, creator, | 181 | methods["do_configure_partition"](self, srcparams_dict, creator, |
| 182 | cr_workdir, oe_builddir, bootimg_dir, | 182 | cr_workdir, oe_builddir, bootimg_dir, |
