[Blends-commit] [SCM] website branch, master, updated. f9a390f7c753799b84242afa86460af28776829e

Andreas Tille tille at debian.org
Tue Nov 6 10:44:00 UTC 2012


The following commit has been merged in the master branch:
commit f9a390f7c753799b84242afa86460af28776829e
Author: Andreas Tille <tille at debian.org>
Date:   Tue Nov 6 11:42:50 2012 +0100

    Once this code was moved to Git you need to specify the directory of your SVN export (I know, that's hackish, but works as long as the projects code remains in SVN)

diff --git a/misc/team_analysis_tools/count-dependencies.py b/misc/team_analysis_tools/count-dependencies.py
index 614b425..2ee2c2e 100755
--- a/misc/team_analysis_tools/count-dependencies.py
+++ b/misc/team_analysis_tools/count-dependencies.py
@@ -4,7 +4,7 @@
 This script extracts numbers of dependencies of different metapackages of a Blend
 """
 
-from sys import stderr, exit
+from sys import stderr, exit, argv
 from os import listdir
 from os.path import isfile, exists
 from fnmatch import fnmatch
@@ -87,7 +87,10 @@ class taskscontent:
 
 
 def main():
-    root = '../../../projects/'+BLEND+'/tags' 
+    if len(argv) < 2:
+	print >>stderr, "Usage: %s <path_to_svn_export_of_blends_repository>" % argv[0]
+	exit()
+    root = argv[1]+'/projects/'+BLEND+'/tags' 
     u_dirs = listdir(root)
 
     tasks = {}

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list