[pygobject] pygtkcompat.py: Typo fix
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygtkcompat.py: Typo fix
- Date: Mon, 7 May 2012 01:09:42 +0000 (UTC)
commit 42c717ed77613e02f3c8ef2685bc071462b87d73
Author: Martin Pitt <martinpitt gnome org>
Date: Sun May 6 18:08:57 2012 -0700
pygtkcompat.py: Typo fix
Was missing a space around operator, causing the PEP8 check to fail.
gi/pygtkcompat.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygtkcompat.py b/gi/pygtkcompat.py
index 21f017c..dd0c01f 100644
--- a/gi/pygtkcompat.py
+++ b/gi/pygtkcompat.py
@@ -387,7 +387,7 @@ def enable_gtk(version='2.0'):
color = self.context.get_background_color(state)
return Gdk.Color(red=int(color.red * 65535),
green=int(color.green * 65535),
- blue=int(color.blue *65535))
+ blue=int(color.blue * 65535))
class Styles(object):
def __init__(self, widget):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]