]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/blends-inject
strip task while extracting from blends file
[neurodebian.git] / tools / blends-inject
index 71d3fc84ab4d38d47318687478536eeabe09c3f1..a7bdba12bf5ccf863dc3b88e0ccabea3f9221206 100755 (executable)
@@ -214,7 +214,7 @@ def parse_debian_blends(f='debian/blends'):
             if format_clean:
                 format_ = format_[:-6]
         elif kl == 'tasks':
-            tasks = v.split(',')
+            tasks = [x.strip() for x in v.split(',')]
             newtasks = pkg is not None      # either we need to provide tune-ups
                                             # for current package
         elif kl in PKG_FIELDS: # new package