[gnome-games/applygsoc2009: 24/76] Arrange imports per pep8



commit 452af2c636efc012ccf906cb35733e94dd8c4bf7
Author: Pablo Castellano <pablog src gnome org>
Date:   Thu Aug 26 11:32:47 2010 +0200

    Arrange imports per pep8

 gnome-sudoku/src/lib/gsudoku.py    |    9 ++++++---
 gnome-sudoku/src/lib/number_box.py |    9 ++++++---
 gnome-sudoku/src/lib/sudoku.py     |    2 +-
 3 files changed, 13 insertions(+), 7 deletions(-)
---
diff --git a/gnome-sudoku/src/lib/gsudoku.py b/gnome-sudoku/src/lib/gsudoku.py
index 0a2ad68..06bf5ca 100644
--- a/gnome-sudoku/src/lib/gsudoku.py
+++ b/gnome-sudoku/src/lib/gsudoku.py
@@ -1,10 +1,13 @@
 # -*- coding: utf-8 -*-
-import gtk, gobject
-import colors
 import math
 import random
-import sudoku
+
+import gtk
+import gobject
+
+import colors
 import number_box
+import sudoku
 import tracker_info
 
 def gtkcolor_to_rgb (color):
diff --git a/gnome-sudoku/src/lib/number_box.py b/gnome-sudoku/src/lib/number_box.py
index e5dee00..3d92978 100644
--- a/gnome-sudoku/src/lib/number_box.py
+++ b/gnome-sudoku/src/lib/number_box.py
@@ -1,8 +1,11 @@
 # -*- coding: utf-8 -*-
-#!/usr/bin/python
-
-import gtk, gobject, pango, cairo
 import math
+
+import cairo
+import gobject
+import gtk
+import pango
+
 import tracker_info
 from gettext import gettext as _
 
diff --git a/gnome-sudoku/src/lib/sudoku.py b/gnome-sudoku/src/lib/sudoku.py
index 72ecfde..f85948a 100644
--- a/gnome-sudoku/src/lib/sudoku.py
+++ b/gnome-sudoku/src/lib/sudoku.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
-import random
 import math
+import random
 import re
 from gettext import gettext as _
 import defaults



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]