summaryrefslogtreecommitdiff
path: root/mat-gui
diff options
context:
space:
mode:
authorjvoisin2016-08-29 22:14:33 +0200
committerjvoisin2016-08-29 22:14:33 +0200
commitfe64fb6251fba7ea58df5ce9a5404558ad41786b (patch)
treed0fd944c0a12c9b0c239f7ea978e62728da88c03 /mat-gui
parent64b667be5d6b36d17839482593ccf2207af14ac9 (diff)
Take care of the GUIpython3
Diffstat (limited to 'mat-gui')
-rwxr-xr-xmat-gui7
1 files changed, 4 insertions, 3 deletions
diff --git a/mat-gui b/mat-gui
index fc927db..3c1eb64 100755
--- a/mat-gui
+++ b/mat-gui
@@ -22,7 +22,7 @@ except ImportError: # python3
22from libmat import mat 22from libmat import mat
23from libmat import strippers 23from libmat import strippers
24from libmat import parser 24from libmat import parser
25from libmat import archive 25#from libmat import archive
26 26
27logging.basicConfig(level=mat.LOGGING_LEVEL) 27logging.basicConfig(level=mat.LOGGING_LEVEL)
28 28
@@ -432,8 +432,9 @@ non-anonymised) file from output archive'))
432 msg = _('Cleaning %s') % self.liststore[line][1].decode('utf-8', 'replace') 432 msg = _('Cleaning %s') % self.liststore[line][1].decode('utf-8', 'replace')
433 logging.info(msg) 433 logging.info(msg)
434 self.statusbar.push(0, msg) 434 self.statusbar.push(0, msg)
435 is_archive = isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper) 435 #is_archive = isinstance(self.liststore[line][0].file, archive.GenericArchiveStripper)
436 is_terminal = isinstance(self.liststore[line][0].file, archive.TerminalZipStripper) 436 #is_terminal = isinstance(self.liststore[line][0].file, archive.TerminalZipStripper)
437 is_archive = is_terminal = True
437 list_to_add = [] 438 list_to_add = []
438 if is_archive and not is_terminal: 439 if is_archive and not is_terminal:
439 unsupported_list = self.liststore[line][0].file.list_unsupported() 440 unsupported_list = self.liststore[line][0].file.list_unsupported()