##// END OF EJS Templates
***
ralonso -
r7:8
parent child
Show More
@@ -50,6 +50,8
50 """
50 """
51 Slot documentation goes here.
51 Slot documentation goes here.
52 """
52 """
53
54
53 var_Dpath=self.txtDpath.text()
55 var_Dpath=self.txtDpath.text()
54 p1= Popen(['find', var_Dpath, '-name', '*.r'], stdout=PIPE)
56 p1= Popen(['find', var_Dpath, '-name', '*.r'], stdout=PIPE)
55 p2= Popen(['awk', '-F/', '{print substr($NF,2,7)}'], stdin=p1.stdout, stdout=PIPE)
57 p2= Popen(['awk', '-F/', '{print substr($NF,2,7)}'], stdin=p1.stdout, stdout=PIPE)
@@ -60,6 +62,8
60 for i in range(0, len(output_p2)/8):
62 for i in range(0, len(output_p2)/8):
61 var_list.append(output_p2[8*i:8*(i+1)-1])
63 var_list.append(output_p2[8*i:8*(i+1)-1])
62
64
65 self.lstStartDay.clear()
66
63 for i in var_list:
67 for i in var_list:
64 # self.txtInfo.append(i)
68 # self.txtInfo.append(i)
65 self.lstStartDay.addItem(i)
69 self.lstStartDay.addItem(i)
General Comments 0
You need to be logged in to leave comments. Login now