diff options
Diffstat (limited to 'bitbake-dev/lib/bb/fetch/__init__.py')
-rw-r--r-- | bitbake-dev/lib/bb/fetch/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake-dev/lib/bb/fetch/__init__.py b/bitbake-dev/lib/bb/fetch/__init__.py index 429822bfa..b8a00107e 100644 --- a/bitbake-dev/lib/bb/fetch/__init__.py +++ b/bitbake-dev/lib/bb/fetch/__init__.py @@ -553,8 +553,12 @@ class Fetch(object): """ """ + has_sortable_valid = hasattr(self, "_sortable_revision_valid") has_sortable = hasattr(self, "_sortable_revision") - if has_sortable: + + if has_sortable and not has_sortable_valid: + return self._sortable_revision(url, ud, d) + elif has_sortable and self._sortable_revision_valid(url, ud, d): return self._sortable_revision(url, ud, d) pd = persist_data.PersistData(d) |