[Cdd-commits] r969 - cdd/trunk/webtools
CDD Subversion Commit
noreply at alioth.debian.org
Fri Jul 11 16:50:37 UTC 2008
Author: tille
Date: Fri Jul 11 16:50:36 2008
New Revision: 969
Modified:
cdd/trunk/webtools/cddtasktools.py
Log:
More robustnes in case there are ',' at end of dependency lines
Modified: cdd/trunk/webtools/cddtasktools.py
==============================================================================
--- cdd/trunk/webtools/cddtasktools.py (original)
+++ cdd/trunk/webtools/cddtasktools.py Fri Jul 11 16:50:36 2008
@@ -497,7 +497,8 @@
# create an object for each later
deps_in_one_line = []
for dependency in dependencylist:
- deps_in_one_line.append(dependency.strip())
+ if dependency.strip() != '': # avoid confusion when ',' is at end of line
+ deps_in_one_line.append(dependency.strip())
for dep_in_line in deps_in_one_line:
# If there are more than one dependencies in one line
More information about the Cdd-commits
mailing list