diff options
| author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-09 16:48:55 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:45 -0800 |
| commit | 417e5fbe2bde800d5ea9647f48034979dc4cd2c3 (patch) | |
| tree | e4390cc18313416bb43e463e40ad011c4cb94b18 /scripts/lib/wic/plugins/imager/direct.py | |
| parent | 6d91c5f6f43e71ea8a4b0ba3015dd450d41aaeff (diff) | |
| download | poky-417e5fbe2bde800d5ea9647f48034979dc4cd2c3.tar.gz | |
wic: direct: remove set_bootimg_dir setter
Removed java-like setter set_bootimg_dir. It's more pythonic
to access public attributes directly.
(From OE-Core rev: c2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugins/imager/direct.py')
| -rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 12044318e8..a2bc4c4144 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
| @@ -149,15 +149,6 @@ class DirectPlugin(ImagerPlugin): | |||
| 149 | 149 | ||
| 150 | return updated | 150 | return updated |
| 151 | 151 | ||
| 152 | def set_bootimg_dir(self, bootimg_dir): | ||
| 153 | """ | ||
| 154 | Accessor for bootimg_dir, the actual location used for the source | ||
| 155 | of the bootimg. Should be set by source plugins (only if they | ||
| 156 | change the default bootimg source) so the correct info gets | ||
| 157 | displayed for print_outimage_info(). | ||
| 158 | """ | ||
| 159 | self.bootimg_dir = bootimg_dir | ||
| 160 | |||
| 161 | def _full_path(self, path, name, extention): | 152 | def _full_path(self, path, name, extention): |
| 162 | """ Construct full file path to a file we generate. """ | 153 | """ Construct full file path to a file we generate. """ |
| 163 | return os.path.join(path, "%s-%s.%s" % (self.name, name, extention)) | 154 | return os.path.join(path, "%s-%s.%s" % (self.name, name, extention)) |
