@@ -130,12 +130,8 | |||||
130 | var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w") No newline at end of file |
|
130 | var_file = open(var_Rpath_ppath+"/"+self.var_Elabel+"_"+i2s(var_n)+".dat","w") | |
131 | #Se añade la lista de archivos a grabar en el DVD al archivo .dat No newline at end of file |
|
131 | #Se añade la lista de archivos a grabar en el DVD al archivo .dat | |
132 | for line in var_files_list_2: |
|
132 | for line in var_files_list_2: | |
No newline at end of file |
|
133 | var_tmp_path=line.split(self.var_Dpath)[1][:-13] | ||
133 | var_tmp_path=(line.split(self.var_Dpath)[1]).split('/') |
|
No newline at end of file | ||
No newline at end of file |
|
134 | var_file.write(var_tmp_path+'='+line+'\n') No newline at end of file | ||
134 | var_tmp_path2="/" |
|
|||
No newline at end of file |
|
||||
135 | for l in range(0, len(var_tmp_path)-1): |
|
|||
No newline at end of file |
|
||||
136 | var_tmp_path2=var_tmp_path2+str(var_tmp_path[l])+"/" |
|
|||
No newline at end of file |
|
||||
137 | var_file.write(var_tmp_path2+'=') |
|
|||
No newline at end of file |
|
||||
138 | var_file.write(line+'\n') No newline at end of file |
|
|||
139 | var_file.close() No newline at end of file |
|
135 | var_file.close() | |
140 | No newline at end of file |
|
136 | ||
141 | var_tmp = var_size_i #Se asigna a la variable el tamaño del archivo actual No newline at end of file |
|
137 | var_tmp = var_size_i #Se asigna a la variable el tamaño del archivo actual |
@@ -6,18 +6,6 | |||||
6 | import os No newline at end of file |
|
6 | import os | |
7 | import subprocess No newline at end of file |
|
7 | import subprocess | |
8 | import commands |
|
8 | import commands | |
No newline at end of file |
|
||||
9 |
|
||||
No newline at end of file |
|
||||
10 |
|
||||
No newline at end of file |
|
||||
11 | def set_parameters(self): |
|
|||
No newline at end of file |
|
||||
12 | """ |
|
|||
No newline at end of file |
|
||||
13 | Se usa para inicializar ciertos parametros para pruebas |
|
|||
No newline at end of file |
|
||||
14 | """ |
|
|||
No newline at end of file |
|
||||
15 | self.txtDpath.setText('/home/ricardoar/optional/STORAGE/EW_DRIFTS') |
|
|||
No newline at end of file |
|
||||
16 | self.txtRpath.setText('/home/ricardoar/optional/prueba1_jro_backup_manager') |
|
|||
No newline at end of file |
|
||||
17 | self.txtElabel.setText('EW_DRIFTS_pruebas') |
|
|||
No newline at end of file |
|
||||
18 | self.lstDcapacity.setCurrentIndex(4) |
|
|||
No newline at end of file |
|
||||
19 | self.txtDcapacity.setValue(250.0) |
|
|||
No newline at end of file |
|
||||
20 | self.txtDcapacity.setReadOnly(False) No newline at end of file |
|
|||
21 | No newline at end of file |
|
9 | ||
22 | No newline at end of file |
|
10 | ||
23 | def detect_devices(self): No newline at end of file |
|
11 | def detect_devices(self): |
@@ -12,7 +12,7 | |||||
12 | from subprocess import * No newline at end of file |
|
12 | from subprocess import * | |
13 | import sys No newline at end of file |
|
13 | import sys | |
14 | import os |
|
14 | import os | |
No newline at end of file |
|
15 | #import subprocess No newline at end of file | ||
15 | import subprocess No newline at end of file |
|
|||
16 | import commands No newline at end of file |
|
16 | import commands | |
17 | from functions import functions No newline at end of file |
|
17 | from functions import functions | |
18 | from functions import functions2 No newline at end of file |
|
18 | from functions import functions2 |
General Comments 0
You need to be logged in to leave comments.
Login now