[mousetrap/gnome3-wip: 5/240] Moving import.



commit bc9cdec34bd5f0469c7a2dc06293f24a226e15a6
Author: Stoney Jackson <dr stoney gmail com>
Date:   Thu Apr 17 08:41:52 2014 -0400

    Moving import.

 src/mousetrap/main.py |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/mousetrap/main.py b/src/mousetrap/main.py
index 6d48ce9..5579226 100644
--- a/src/mousetrap/main.py
+++ b/src/mousetrap/main.py
@@ -1,7 +1,3 @@
-# This will for all imports to be absolute, which will allow compatibility with
-# Python 2.5+ and Python 3
-from __future__ import absolute_import
-
 # -*- coding: utf-8 -*-
 
 # MouseTrap
@@ -31,6 +27,11 @@ __date__      = "$Date$"
 __copyright__ = "Copyright (c) 2008 Flavio Percoco Premoli"
 __license__   = "GPLv2"
 
+
+# This will for all imports to be absolute, which will allow compatibility with
+# Python 2.5+ and Python 3
+from __future__ import absolute_import
+
 ####################### TAKEN FROM ORCA'S CODE ###################
 # We're going to force the name of the app to "mousetrap" so pygtk
 # will end up showing us as "mousetrap" to the AT-SPI.  If we don't


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