def open_selected(self): """Open :attr:`selected_dupes` with their associated application.""" if len(self.selected_dupes) > 10 and not self.view.ask_yes_no( MSG_MANY_FILES_TO_OPEN): return for dupe in self.selected_dupes: desktop.open_path(dupe.path)
def open_selected(self): """Open :attr:`selected_dupes` with their associated application. """ if len(self.selected_dupes) > 10: if not self.view.ask_yes_no(MSG_MANY_FILES_TO_OPEN): return for dupe in self.selected_dupes: desktop.open_path(dupe.path)
def export_to_xhtml(self): """Export current results to XHTML. The configuration of the :attr:`result_table` (columns order and visibility) is used to determine how the data is presented in the export. In other words, the exported table in the resulting XHTML will look just like the results table. """ colnames, rows = self._get_export_data() export_path = export.export_to_xhtml(colnames, rows) desktop.open_path(export_path)
def export_to_xhtml(self): """Export current results to XHTML. The configuration of the :attr:`result_table` (columns order and visibility) is used to determine how the data is presented in the export. In other words, the exported table in the resulting XHTML will look just like the results table. """ colnames, rows = self._get_export_data() export_path = export.export_to_xhtml(colnames, rows) desktop.open_path(export_path)
def openDebugLogTriggered(self): debugLogPath = op.join(self.model.appdata, 'debug.log') desktop.open_path(debugLogPath)
def openDebugLogTriggered(self): debugLogPath = op.join(self.model.appdata, 'debug.log') desktop.open_path(debugLogPath)
def openDebugLogTriggered(self): debug_log_path = op.join(self.model.appdata, "debug.log") desktop.open_path(debug_log_path)