[mousetrap/gnome3-wip] Updated core.py and Makefile.am to fix bug so that make works.



commit 2d32f7c004a01305856146924b06f3986afcfb34
Author: Heidi Ellis <heidiellis src gnome org>
Date:   Sun Nov 2 17:43:12 2014 -0500

    Updated core.py and Makefile.am to fix bug so that make works.

 Makefile.am |    2 +-
 setup.py    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 0f089e2..bfe9202 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -150,4 +150,4 @@ lint:
 
 run: all
        PYTHONPATH=$(MT_BUILD_HOME) \
-       $(PYTHON) -3 $(MT_BUILD_HOME)/mousetrap/main.py
+       $(PYTHON) $(MT_BUILD_HOME)/mousetrap/main.py
diff --git a/setup.py b/setup.py
index a1dc420..8610309 100644
--- a/setup.py
+++ b/setup.py
@@ -120,7 +120,7 @@ class BuildCommand(build):
         LOCALE_PATH = "%s/mousetrap/locale" % SRC_PATH
         DEST_PATH = "%s/mousetrap/locale" % self.build_lib
 
-        root, directories, files = os.walk(LOCALE_PATH).next()
+        root, directories, files = next(os.walk(LOCALE_PATH))
 
         language_codes = directories
 


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