diff options
Diffstat (limited to 'scripts/lib/devtool/import.py')
-rw-r--r-- | scripts/lib/devtool/import.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/devtool/import.py b/scripts/lib/devtool/import.py index c13a180d14..4264b7d820 100644 --- a/scripts/lib/devtool/import.py +++ b/scripts/lib/devtool/import.py | |||
@@ -81,7 +81,7 @@ def devimport(args, config, basepath, workspace): | |||
81 | break | 81 | break |
82 | else: | 82 | else: |
83 | non_importables.append(fn) | 83 | non_importables.append(fn) |
84 | logger.warn('No recipe to append %s.bbapppend, skipping' % fn) | 84 | logger.warning('No recipe to append %s.bbapppend, skipping' % fn) |
85 | 85 | ||
86 | # Extract | 86 | # Extract |
87 | imported = [] | 87 | imported = [] |
@@ -104,9 +104,9 @@ def devimport(args, config, basepath, workspace): | |||
104 | try: | 104 | try: |
105 | tar.extract(member, path=config.workspace_path) | 105 | tar.extract(member, path=config.workspace_path) |
106 | except PermissionError as pe: | 106 | except PermissionError as pe: |
107 | logger.warn(pe) | 107 | logger.warning(pe) |
108 | else: | 108 | else: |
109 | logger.warn('File already present. Use --overwrite/-o to overwrite it: %s' % member.name) | 109 | logger.warning('File already present. Use --overwrite/-o to overwrite it: %s' % member.name) |
110 | continue | 110 | continue |
111 | else: | 111 | else: |
112 | tar.extract(member, path=config.workspace_path) | 112 | tar.extract(member, path=config.workspace_path) |
@@ -129,7 +129,7 @@ def devimport(args, config, basepath, workspace): | |||
129 | if imported: | 129 | if imported: |
130 | logger.info('Imported recipes into workspace %s: %s' % (config.workspace_path, ', '.join(imported))) | 130 | logger.info('Imported recipes into workspace %s: %s' % (config.workspace_path, ', '.join(imported))) |
131 | else: | 131 | else: |
132 | logger.warn('No recipes imported into the workspace') | 132 | logger.warning('No recipes imported into the workspace') |
133 | 133 | ||
134 | return 0 | 134 | return 0 |
135 | 135 | ||