@@ -19,16 +19,15 | |||
|
19 | 19 | No newline at end of file |
|
20 | 20 | No newline at end of file |
|
21 | 21 | #Crea directorios en la ruta indicada |
|
22 | No newline at end of file | |
|
22 | def make_dirs(var_path, list_dirs, self): | |
|
No newline at end of file | ||
|
23 | No newline at end of file | |
|
23 | var_cmd="mkdir -p "+str(var_path) No newline at end of file | |
|
24 | 24 | for var_dir in list_dirs: No newline at end of file |
|
25 | 25 | var_output=commands.getstatusoutput(var_cmd+'/'+var_dir)[0] |
|
No newline at end of file | ||
|
26 | print var_cmd+'/'+var_dir No newline at end of file | |
|
27 | 26 | if var_output != 0: No newline at end of file |
|
28 | 27 | self.txtInfo.append("Error al crear el directorio "+var_dir+", output_error:" + str(var_output)) |
|
28 | No newline at end of file | |
|
29 | return | |
|
No newline at end of file | ||
|
30 | else: No newline at end of file | |
|
31 | 29 |
|
|
30 | return True No newline at end of file | |
|
32 | 31 | No newline at end of file |
|
33 | 32 | No newline at end of file |
|
34 | 33 | #Se verifica que la ruta exista y sea un directorio No newline at end of file |
@@ -19,7 +19,9 | |||
|
19 | 19 | self.txtElabel.setText('EW_DRIFTS') No newline at end of file |
|
20 | 20 | self.statusDpath = True No newline at end of file |
|
21 | 21 | self.statusRpath = True |
|
22 | No newline at end of file | |
|
22 | self.var_n_files=0 No newline at end of file | |
|
No newline at end of file | ||
|
23 | self.txtDcapacity.setValue(100.0) | |
|
No newline at end of file | ||
|
24 | self.txtDcapacity.setReadOnly(False) No newline at end of file | |
|
23 | 25 | No newline at end of file |
|
24 | 26 | No newline at end of file |
|
25 | 27 | def detect_devices(self): No newline at end of file |
@@ -1,7 +1,7 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> No newline at end of file |
|
2 | 2 | <!DOCTYPE Project SYSTEM "Project-4.6.dtd"> No newline at end of file |
|
3 | 3 | <!-- eric4 project file for project jro_backup_manager --> |
|
4 | No newline at end of file | |
|
4 | <!-- Saved: 2010-05-16, 23:51:59 --> No newline at end of file | |
|
5 | 5 | <!-- Copyright (C) 2010 , --> No newline at end of file |
|
6 | 6 | <Project version="4.6"> No newline at end of file |
|
7 | 7 | <Language>en</Language> No newline at end of file |
@@ -29,21 +29,22 | |||
|
29 | 29 | No newline at end of file |
|
30 | 30 | def setupUi2(self): No newline at end of file |
|
31 | 31 | No newline at end of file |
|
32 | self.statusDpath = False | |
|
No newline at end of file | ||
|
33 | self.statusRpath = False | |
|
No newline at end of file | ||
|
34 | ||
|
No newline at end of file | ||
|
35 | functions2.set_parameters(self) #Establece ciertos parametros, para pruebas | |
|
No newline at end of file | ||
|
36 | No newline at end of file | |
|
32 | 37 | self.var_Dpath = self.txtDpath.text() No newline at end of file |
|
33 | 38 | self.var_Rpath = self.txtRpath.text() |
|
No newline at end of file | ||
|
34 | self.statusDpath = False | |
|
No newline at end of file | ||
|
35 | self.statusRpath = False | |
|
No newline at end of file | ||
|
36 | No newline at end of file | |
|
37 | 39 | self.var_Dtype = self.txtDtype.text() No newline at end of file |
|
38 | 40 | self.var_Elabel = self.txtElabel.text() No newline at end of file |
|
39 | 41 | self.var_Copys = self.txtCopys.value() No newline at end of file |
|
40 | 42 | self.var_Dcapacity = self.txtDcapacity.value() * 1024 No newline at end of file |
|
41 | 43 | |
|
44 | No newline at end of file | |
|
42 | self.var_n_files=0 No newline at end of file | |
|
43 | 45 | self.var_list=[] No newline at end of file |
|
44 | 46 | self.var_sublist=[] No newline at end of file |
|
45 | 47 | |
|
No newline at end of file | ||
|
46 | functions2.set_parameters(self) #Establece ciertos parametros, para pruebas No newline at end of file | |
|
47 | 48 | functions2.detect_devices(self) #busca los dispositivos de grabacion No newline at end of file |
|
48 | 49 | No newline at end of file |
|
49 | 50 | No newline at end of file |
@@ -6,7 +6,7 | |||
|
6 | 6 | <rect> No newline at end of file |
|
7 | 7 | <x>0</x> No newline at end of file |
|
8 | 8 | <y>0</y> |
|
9 | No newline at end of file | |
|
9 | <width>754</width> No newline at end of file | |
|
10 | 10 | <height>737</height> No newline at end of file |
|
11 | 11 | </rect> No newline at end of file |
|
12 | 12 | </property> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now