[oe-commits] [bitbake] branch master updated: npm fetcher: fix unknown variable name.

git at git.openembedded.org git at git.openembedded.org
Thu Jun 29 13:34:26 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

The following commit(s) were added to refs/heads/master by this push:
     new a457cbf  npm fetcher: fix unknown variable name.
a457cbf is described below

commit a457cbfb1f20a47db3978290921d0708cd96bd70
Author: Ismo Puustinen <ismo.puustinen at intel.com>
AuthorDate: Wed Jun 28 13:19:31 2017 +0300

    npm fetcher: fix unknown variable name.
    
    'mirrortarball' is supposed to be a local variable to the function.
    
    Signed-off-by: Ismo Puustinen <ismo.puustinen at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/fetch2/npm.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bb/fetch2/npm.py b/lib/bb/fetch2/npm.py
index 5f79972..f2e7983 100644
--- a/lib/bb/fetch2/npm.py
+++ b/lib/bb/fetch2/npm.py
@@ -92,7 +92,7 @@ class Npm(FetchMethod):
 
         ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0")
         mirrortarball = 'npm_%s-%s.tar.xz' % (ud.pkgname, ud.version)
-        mirrortarball = ud.mirrortarball.replace('/', '-')
+        mirrortarball = mirrortarball.replace('/', '-')
         ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball)
         ud.mirrortarballs = [mirrortarball]
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list