mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
[Python-Modernize] lib2to3.fixes.fix_numliterals
This commit is contained in:
parent
e24e5916e0
commit
fc7a136c70
@ -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 |
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user