[gnome-sudoku] Fix VERSION and PREFIX by importing defs python3 style



commit 5880ac73d36d0341762d7e9c0a2351a8d0348139
Author: Yanko Kaneti <yaneti declera com>
Date:   Sun Nov 17 00:03:07 2013 +0200

    Fix VERSION and PREFIX by importing defs python3 style
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712520

 src/lib/defaults.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/lib/defaults.py b/src/lib/defaults.py
index 43e39e8..30f1540 100644
--- a/src/lib/defaults.py
+++ b/src/lib/defaults.py
@@ -14,7 +14,7 @@ import gettext
 from gi.repository import GLib
 
 try:
-    from defs import VERSION, PREFIX
+    from .defs import VERSION, PREFIX
 except ImportError:
     PREFIX = "/usr"
     VERSION = "0.0.0"


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