diff options
Diffstat (limited to 'lib/bb/fetch2/__init__.py')
-rw-r--r-- | lib/bb/fetch2/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index c80760197..e8eaebe9d 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -621,7 +621,8 @@ class Fetch(object): Can also setup variables in urldata for use in go (saving code duplication and duplicate code execution) """ - return url + return os.path.join(data.getVar("DL_DIR", d, True), urldata.localfile) + def _strip_leading_slashes(self, relpath): """ Remove leading slash as os.path.join can't cope |