]> TLD Linux GIT Repositories - tld-builder.git/blobdiff - TLD_Builder/maintainer.py
- fix byte/str for chroot.popen
[tld-builder.git] / TLD_Builder / maintainer.py
index 6b1b45a4d887ad4b653087a4dd64bbce4cbf389e..4d909dfaba2b6dfcc2ec2b713bc91bc893b5689d 100644 (file)
@@ -39,7 +39,7 @@ def handle_src():
 
 def handle_bin():
     send_rpmqa()
-    f=chroot.popen("""ls -l --time-style +%s /spools/ready""", 'root')
+    f=chroot.popen("""ls -l --time-style +%s /spools/ready""", "root", encoding = "utf-8")
     rmpkgs=[]
     curtime=time.time()
     for i in f: