]> git.donarmstrong.com Git - neurodebian.git/commitdiff
strip task while extracting from blends file
authorYaroslav Halchenko <debian@onerussian.com>
Thu, 9 Dec 2010 22:11:59 +0000 (17:11 -0500)
committerYaroslav Halchenko <debian@onerussian.com>
Thu, 9 Dec 2010 22:11:59 +0000 (17:11 -0500)
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