diff options
author | Papoteur <papoteur@mageia.org> | 2018-03-16 07:15:09 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2018-03-16 11:17:42 +0100 |
commit | 134d42f2f83dc82fb9188283d91918e72a51b4d2 (patch) | |
tree | cc817075810ce7ed149db08cd63e2cc0cd2b17d6 /backend | |
parent | 17261cba80b9e589f37519d3b5eb3b6c6038c871 (diff) | |
download | isodumper-134d42f2f83dc82fb9188283d91918e72a51b4d2.tar isodumper-134d42f2f83dc82fb9188283d91918e72a51b4d2.tar.gz isodumper-134d42f2f83dc82fb9188283d91918e72a51b4d2.tar.bz2 isodumper-134d42f2f83dc82fb9188283d91918e72a51b4d2.tar.xz isodumper-134d42f2f83dc82fb9188283d91918e72a51b4d2.zip |
Cleaning
Diffstat (limited to 'backend')
-rwxr-xr-x | backend/magiback | 2 | ||||
-rwxr-xr-x | backend/raw_write.py | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/backend/magiback b/backend/magiback index e7fe881..4e86910 100755 --- a/backend/magiback +++ b/backend/magiback @@ -100,7 +100,7 @@ class Isodumper(raw_write.Dumper): def run(self): self.loop.run() -def check_permission(self, action,dbus_context): +def check_permission(action, dbus_context): """ Check permission """ return dbus_context.is_authorized(action, {'polkit.icon_name': 'isodumper.png',}, interactive=True) diff --git a/backend/raw_write.py b/backend/raw_write.py index 31d90dc..54b46d8 100755 --- a/backend/raw_write.py +++ b/backend/raw_write.py @@ -73,7 +73,6 @@ class Dumper(object): while ncuts <= 100: bs=int(bs/2) ncuts=int(b/bs) - print(ncuts,bs) for i in range(0,int(ncuts)+1): try: buf=ifc.read(bs) |