From: Holger Freyther Date: Tue, 8 Jan 2008 09:07:08 +0000 (+0000) Subject: contrib/mtn2git/mtn2git.py: Return the tree if it is was not in the cache! X-Git-Tag: Release-2010-05/1~7986 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa86e50e478426cff6a4769d35f605b4907a80a;p=openembedded.git contrib/mtn2git/mtn2git.py: Return the tree if it is was not in the cache! --- diff --git a/contrib/mtn2git/mtn2git.py b/contrib/mtn2git/mtn2git.py index 5c39e7450a..5968aac092 100755 --- a/contrib/mtn2git/mtn2git.py +++ b/contrib/mtn2git/mtn2git.py @@ -156,6 +156,8 @@ def get_and_cache_tree(ops, revision): old_name = cached_fifo[0] cached_fifo = cached_fifo[1:] del cached_tree[old_name] + + return tree def diff_manifest(old_tree, new_tree): """Find additions, modifications and deletions"""