@@ -308,6 +308,11 | |||||
308 | var_cmd = "cp -rfv "+var_output[1] .split()[-1]+"/ "+var_Rpath_tmpdata+"/" No newline at end of file |
|
308 | var_cmd = "cp -rfv "+var_output[1] .split()[-1]+"/ "+var_Rpath_tmpdata+"/" | |
309 | return var_cmd No newline at end of file |
|
309 | return var_cmd | |
310 | No newline at end of file |
|
310 | ||
|
311 | def cmd_manual_check(var_data_dir, var_TDpath): | |||
|
No newline at end of file | ||||
|
312 | ||||
|
No newline at end of file | ||||
|
313 | var_cmd = "cp -rfv "+var_data_dir+"/ "+var_TDpath+"/" | |||
|
No newline at end of file | ||||
|
314 | return var_cmd | |||
|
No newline at end of file | ||||
|
315 | No newline at end of file | |||
311 | No newline at end of file |
|
316 | ||
312 | def remove_iso(self): No newline at end of file |
|
317 | def remove_iso(self): | |
313 | var_Rpath_iso=self.var_Rpath+"/iso" No newline at end of file |
|
318 | var_Rpath_iso=self.var_Rpath+"/iso" |
@@ -80,6 +80,23 | |||||
80 | return var_dev_sr No newline at end of file |
|
80 | return var_dev_sr | |
81 | No newline at end of file |
|
81 | ||
82 | No newline at end of file |
|
82 | ||
|
83 | #----------------------------------- expulsa los dispositivos de grabacion -------------------------------------------- | |||
|
No newline at end of file | ||||
|
84 | def mounted_devices(): | |||
|
No newline at end of file | ||||
|
85 | var_output=commands.getstatusoutput('df -hT | grep tmpfs') | |||
|
No newline at end of file | ||||
|
86 | ||||
|
No newline at end of file | ||||
|
87 | if var_output[0] != 0: | |||
|
No newline at end of file | ||||
|
88 | return "FATAL ERROR" | |||
|
No newline at end of file | ||||
|
89 | ||||
|
No newline at end of file | ||||
|
90 | else: | |||
|
No newline at end of file | ||||
|
91 | if len(var_output[1]) == 0: | |||
|
No newline at end of file | ||||
|
92 | return "FATAL ERROR" | |||
|
No newline at end of file | ||||
|
93 | ||||
|
No newline at end of file | ||||
|
94 | list_dirs = [] | |||
|
No newline at end of file | ||||
|
95 | for var_dir in var_output[1].split('\n'): | |||
|
No newline at end of file | ||||
|
96 | list_dirs.append(var_dir.split()[-1]) | |||
|
No newline at end of file | ||||
|
97 | ||||
|
No newline at end of file | ||||
|
98 | return list_dirs | |||
|
No newline at end of file | ||||
|
99 | No newline at end of file | |||
83 | No newline at end of file |
|
100 | ||
84 | #----------------------------------- listado de los dispositivos de grabacion seleccionados -------------------------------------------- No newline at end of file |
|
101 | #----------------------------------- listado de los dispositivos de grabacion seleccionados -------------------------------------------- | |
85 | No newline at end of file |
|
102 |
@@ -43,6 +43,7 | |||||
43 | self.var_real_burn = True No newline at end of file |
|
43 | self.var_real_burn = True | |
44 | self.var_real_check = True No newline at end of file |
|
44 | self.var_real_check = True | |
45 | self.var_real_eject = True No newline at end of file |
|
45 | self.var_real_eject = True | |
|
46 | self.var_real_manual_check = True No newline at end of file | |||
46 | self.var_real_show_cmd = True No newline at end of file |
|
47 | self.var_real_show_cmd = True | |
47 | No newline at end of file |
|
48 | ||
48 | else: No newline at end of file |
|
49 | else: |
@@ -2,8 +2,8 | |||||
2 | No newline at end of file |
|
2 | ||
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui' No newline at end of file |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/About.ui' | |
4 | # |
|
4 | # | |
No newline at end of file |
|
5 | # Created: Wed May 26 16:31:58 2010 | ||
5 | # Created: Tue May 25 00:54:30 2010 |
|
No newline at end of file | ||
No newline at end of file |
|
6 | # by: PyQt4 UI code generator 4.6 No newline at end of file | ||
6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
|||
7 | # No newline at end of file |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
8 | # WARNING! All changes made in this file will be lost! | |
9 | No newline at end of file |
|
9 |
@@ -2,8 +2,8 | |||||
2 | No newline at end of file |
|
2 | ||
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' No newline at end of file |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/MainWindow.ui' | |
4 | # |
|
4 | # | |
No newline at end of file |
|
5 | # Created: Wed May 26 16:31:57 2010 | ||
5 | # Created: Tue May 25 00:54:29 2010 |
|
No newline at end of file | ||
No newline at end of file |
|
6 | # by: PyQt4 UI code generator 4.6 No newline at end of file | ||
6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
|||
7 | # No newline at end of file |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
8 | # WARNING! All changes made in this file will be lost! | |
9 | No newline at end of file |
|
9 |
@@ -2,8 +2,8 | |||||
2 | No newline at end of file |
|
2 | ||
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui' No newline at end of file |
|
3 | # Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui' | |
4 | # |
|
4 | # | |
No newline at end of file |
|
5 | # Created: Wed May 26 16:31:58 2010 | ||
5 | # Created: Tue May 25 00:54:30 2010 |
|
No newline at end of file | ||
No newline at end of file |
|
6 | # by: PyQt4 UI code generator 4.6 No newline at end of file | ||
6 | # by: PyQt4 UI code generator 4.7.2 No newline at end of file |
|
|||
7 | # No newline at end of file |
|
7 | # | |
8 | # WARNING! All changes made in this file will be lost! No newline at end of file |
|
8 | # WARNING! All changes made in this file will be lost! | |
9 | No newline at end of file |
|
9 |
General Comments 0
You need to be logged in to leave comments.
Login now