ajack 2004/03/08 16:20:51
Modified: python/gump engine.py
Log:
Display package listings even if no license (indent problem)
Revision Changes Path
1.77 +15 -21 gump/python/gump/engine.py
Index: engine.py
===================================================================
RCS file: /home/cvs/gump/python/gump/engine.py,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- engine.py 8 Mar 2004 22:28:08 -0000 1.76
+++ engine.py 9 Mar 2004 00:20:51 -0000 1.77
@@ -766,25 +766,20 @@
# directories
outputs.append(licensePath)
- #
- # List all directories that should've contained
- # outputs, to see what is there.
- #
- dirs=[]
- dircnt=0
- listed=0
- for output in outputs:
- dir=os.path.dirname(output)
- if not dir in dirs:
- dircnt += 1
- if os.path.exists(dir):
- listDirectoryToFileHolder(project,dir,\
- FILE_TYPE_PACKAGE,
-
'list_'+project.getName()+'_dir'+str(dircnt)+'_'+os.path.basename(dir))
- dirs.append(dir)
- listed += 1
- else:
- project.addError("No such directory (where package
output is expected) : " + dir)
+ #
+ # List all directories that should've contained
+ # outputs, to see what is there.
+ #
+ dirs=[]
+ dircnt=0
+ for output in outputs:
+ dir=os.path.dirname(output)
+ if not dir in dirs:
+ dircnt += 1
+ listDirectoryToFileHolder(project,dir,\
+ FILE_TYPE_PACKAGE,
+
'list_'+project.getName()+'_dir'+str(dircnt)+'_'+os.path.basename(dir))
+ dirs.append(dir)
"""
@@ -826,8 +821,7 @@
#
# Load stats (and stash onto projects)
#
- db.loadStatistics(workspace)
-
+ db.loadStatistics(workspace)
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]