mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-05 16:08:40 +00:00
[Python-Modernize] lib2to3.fixes.fix_numliterals
This commit is contained in:
parent
e24e5916e0
commit
fc7a136c70
2 changed files with 2 additions and 2 deletions
|
@ -665,7 +665,7 @@ class PathChooserPopup(object):
|
||||||
return x, y, width, height
|
return x, y, width, height
|
||||||
|
|
||||||
def popup_grab_window(self):
|
def popup_grab_window(self):
|
||||||
activate_time = 0L
|
activate_time = 0
|
||||||
if gdk.pointer_grab(self.popup_window.window, True,
|
if gdk.pointer_grab(self.popup_window.window, True,
|
||||||
(gdk.BUTTON_PRESS_MASK |
|
(gdk.BUTTON_PRESS_MASK |
|
||||||
gdk.BUTTON_RELEASE_MASK |
|
gdk.BUTTON_RELEASE_MASK |
|
||||||
|
|
|
@ -391,7 +391,7 @@ class TrackerIcons(Component):
|
||||||
except IOError as ex:
|
except IOError as ex:
|
||||||
raise InvalidIconError(ex)
|
raise InvalidIconError(ex)
|
||||||
else:
|
else:
|
||||||
if os.stat(icon_name).st_size == 0L:
|
if os.stat(icon_name).st_size == 0:
|
||||||
raise InvalidIconError("empty icon")
|
raise InvalidIconError("empty icon")
|
||||||
|
|
||||||
return icon_name
|
return icon_name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue