]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/install.py
- python 3.x fixes
[tld-builder.git] / TLD_Builder / install.py
index e57ad2a7fe41e1e6789729770d9add2760185f52..21f80a44ef793d3aa1eed06bd27d251323b23e3a 100644 (file)
@@ -183,7 +183,7 @@ def install_br(r, b):
     nbr = ""
     for bre in needed.keys():
         nbr = nbr + " " + re.escape(bre)
-    br = string.strip(nbr)
+    br = nbr.strip()
     b.log_line("updating poldek cache...")
     chroot.run("poldek --up --upa", user = "root", logfile = b.logfile)
     # check conflicts in BRed packages
@@ -215,7 +215,7 @@ def install_br(r, b):
     nbr = ""
     for bre in needed.keys():
         nbr = nbr + " " + re.escape(bre)
-    br = string.strip(nbr)
+    br = nbr.strip()
 
     b.log_line("installing BR: %s" % br)
     res = chroot.run("set -x; poldek --noask --caplookup -Q -v %s --upgrade %s" % (b.ignores(), br),