diff options
author | Anthony King <anthonydking@slimroms.net> | 2014-05-05 23:30:49 +0100 |
---|---|---|
committer | Anthony King <anthonydking@slimroms.net> | 2014-05-06 09:16:52 +0100 |
commit | d58bfe5a58caa670c96b060c4c0d926018588000 (patch) | |
tree | 9473020ab74837219c8fa5896108cb35f58bd0b8 /manifest_xml.py | |
parent | 666d534636d262cbfd971509dd0f0be0cddb2e11 (diff) | |
download | git-repo-d58bfe5a58caa670c96b060c4c0d926018588000.tar.gz |
Return a list rather than dict_values in XmlManifest.projects()
dict.values() produce dict_values objects rather than list objects.
Convert this to a list to maintain functionality with certain functions.
Change-Id: Ie76269e19f8d68479a1d7ae03aa965252d759a9e
Diffstat (limited to 'manifest_xml.py')
-rw-r--r-- | manifest_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifest_xml.py b/manifest_xml.py index e2f58e62..6557477c 100644 --- a/manifest_xml.py +++ b/manifest_xml.py | |||
@@ -310,7 +310,7 @@ class XmlManifest(object): | |||
310 | @property | 310 | @property |
311 | def projects(self): | 311 | def projects(self): |
312 | self._Load() | 312 | self._Load() |
313 | return self._paths.values() | 313 | return list(self._paths.values()) |
314 | 314 | ||
315 | @property | 315 | @property |
316 | def remotes(self): | 316 | def remotes(self): |