aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-10-11 08:54:24 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-10-11 08:54:24 +0200
commita459fb84d82804bf46c47cb99606c2f608087881 (patch)
treecb8c9965f6f1aaa8d2e98279fc0cc5121915763f /lib/isodumper.py
parent9056b06390d6ec207f52ec02b658578cd7962b62 (diff)
downloadisodumper-a459fb84d82804bf46c47cb99606c2f608087881.tar
isodumper-a459fb84d82804bf46c47cb99606c2f608087881.tar.gz
isodumper-a459fb84d82804bf46c47cb99606c2f608087881.tar.bz2
isodumper-a459fb84d82804bf46c47cb99606c2f608087881.tar.xz
isodumper-a459fb84d82804bf46c47cb99606c2f608087881.zip
Apply 2to3 to isodumper.py
Diffstat (limited to 'lib/isodumper.py')
-rw-r--r--lib/isodumper.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index a18995c..5f2faeb 100644
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -131,10 +131,10 @@ class UDisks2(object):
re_drive = re.compile('(?P<path>.*?/drives/(?P<id>.*))')
re_block = re.compile('(?P<path>.*?/block_devices/(?P<id>.*))')
devs= [m.groupdict() for m in
- [re_drive.match(path) for path in objects.keys()]
+ [re_drive.match(path) for path in list(objects.keys())]
if m]
blocks = [m.groupdict() for m in
- [re_block.match(path) for path in objects.keys()]
+ [re_block.match(path) for path in list(objects.keys())]
if m]
list=[]
@@ -545,7 +545,7 @@ class IsoDumper(object):
logfile.write(self.logview.logText())
logfile.close()
- print(self.logview.logText())
+ print((self.logview.logText()))
def logger(self, text):
self.logview.appendLines(text+"\n")