[Blends-commit] [SCM] blends-gsoc branch, master, updated. 8900111b84be9b75d6e70d9c6ef1ca3ba0918afc

Emmanouil Kiagias e.kiagias at gmail.com
Mon Sep 2 13:27:08 UTC 2013


The following commit has been merged in the master branch:
commit a6c8a2c116a53238d303a9891c0533bd4bb43ff3
Author: Emmanouil Kiagias <e.kiagias at gmail.com>
Date:   Mon Sep 2 15:08:52 2013 +0200

    small fix, replace ! character from noarch list(when print_all_packages)

diff --git a/devtools/sec-blend-gen-control b/devtools/sec-blend-gen-control
index df05239..0b936b4 100755
--- a/devtools/sec-blend-gen-control
+++ b/devtools/sec-blend-gen-control
@@ -666,15 +666,14 @@ def process_pkg_str(pkg_str):
         pkgs_to_fix += [ x.strip() for x in pkg_str.split('|') ]
     else:
         pkgs_to_fix.append(pkg_str)
-
+    
     for to_fix in pkgs_to_fix:
         if '[' in to_fix:
             pkg_temp, noarchs_temp = to_fix.split('[')
         else:
             pkg_temp, noarchs_temp = to_fix.strip(), ''
 
-        noarchs = [ x.strip() for x in noarchs_temp.replace(']','').split(' ') ]
-
+        noarchs = [ x.strip() for x in noarchs_temp.replace(']','').replace('!','').split(' ') ]
         converted.append({ "pkg" : pkg_temp.strip(), "noarchs" : noarchs  })
 
     return converted

-- 
Git repository for blends-gsoc code



More information about the Blends-commit mailing list