소스 검색

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
Anthony King 11 년 전
부모
커밋
d58bfe5a58
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      manifest_xml.py

+ 1 - 1
manifest_xml.py

@@ -310,7 +310,7 @@ class XmlManifest(object):
   @property
   def projects(self):
     self._Load()
-    return self._paths.values()
+    return list(self._paths.values())
 
   @property
   def remotes(self):