mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 18:35:42 +01:00 
			
		
		
		
	patman: Use items() instead of iteritems()
Python 3 requires this, and Python 2 allows it. Convert the code over to ensure compatibility with Python 3. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		| @@ -163,7 +163,7 @@ class _ProjectConfigParser(ConfigParser.SafeConfigParser): | |||||||
|         item_dict = dict(top_items) |         item_dict = dict(top_items) | ||||||
|         item_dict.update(project_items) |         item_dict.update(project_items) | ||||||
|         return {(self._to_unicode(item), self._to_unicode(val)) |         return {(self._to_unicode(item), self._to_unicode(val)) | ||||||
|                 for item, val in item_dict.iteritems()} |                 for item, val in item_dict.items()} | ||||||
|  |  | ||||||
| def ReadGitAliases(fname): | def ReadGitAliases(fname): | ||||||
|     """Read a git alias file. This is in the form used by git: |     """Read a git alias file. This is in the form used by git: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user