[Python-Modernize] lib2to3.fixes.fix_numliterals

This commit is contained in:
Calum Lind 2014-09-03 16:44:39 +01:00
parent e24e5916e0
commit fc7a136c70
2 changed files with 2 additions and 2 deletions

View File

@ -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 |

View File

@ -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