[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
|
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…
x
Reference in New Issue
Block a user