From fc7a136c708cf0d317f8743eae42cef4eaa935ec Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Wed, 3 Sep 2014 16:44:39 +0100 Subject: [PATCH] [Python-Modernize] lib2to3.fixes.fix_numliterals --- deluge/ui/gtkui/path_combo_chooser.py | 2 +- deluge/ui/tracker_icons.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/ui/gtkui/path_combo_chooser.py b/deluge/ui/gtkui/path_combo_chooser.py index a95f018fd..18ec2b5ea 100755 --- a/deluge/ui/gtkui/path_combo_chooser.py +++ b/deluge/ui/gtkui/path_combo_chooser.py @@ -665,7 +665,7 @@ class PathChooserPopup(object): return x, y, width, height def popup_grab_window(self): - activate_time = 0L + activate_time = 0 if gdk.pointer_grab(self.popup_window.window, True, (gdk.BUTTON_PRESS_MASK | gdk.BUTTON_RELEASE_MASK | diff --git a/deluge/ui/tracker_icons.py b/deluge/ui/tracker_icons.py index f47d4f7f7..0143aab02 100644 --- a/deluge/ui/tracker_icons.py +++ b/deluge/ui/tracker_icons.py @@ -391,7 +391,7 @@ class TrackerIcons(Component): except IOError as ex: raise InvalidIconError(ex) else: - if os.stat(icon_name).st_size == 0L: + if os.stat(icon_name).st_size == 0: raise InvalidIconError("empty icon") return icon_name