[Pkg-javascript-commits] [tools.pkg-javascript.debian.org] 01/01: replace node- only once

Leo Iannacone l3on-guest at moszumanska.debian.org
Sat May 10 20:28:18 UTC 2014


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

l3on-guest pushed a commit to branch master
in repository tools.pkg-javascript.debian.org.

commit e210204bb9053f88cb9d8a579c87c3fffa904617
Author: Leo Iannacone <l3on at ubuntu.com>
Date:   Sat May 10 22:28:14 2014 +0200

    replace node- only once
---
 test-require-all-modules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-require-all-modules.py b/test-require-all-modules.py
index 1178139..f3ad03a 100755
--- a/test-require-all-modules.py
+++ b/test-require-all-modules.py
@@ -45,7 +45,7 @@ def report(what):
 
 
 def test_package(package):
-    name = package.replace('node-', '')
+    name = package.replace('node-', '', 1)
     formatted = "{0:7} - {1}"
     result = ''
     try:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/tools.pkg-javascript.debian.org.git



More information about the Pkg-javascript-commits mailing list