diff --git a/config.py b/config.py index e11ad08..d840e6f 100644 --- a/config.py +++ b/config.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker diff --git a/config_test.py b/config_test.py index 823b3a3..e4a9746 100644 --- a/config_test.py +++ b/config_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -150,4 +150,4 @@ def invalidaccess(c): if __name__ == "__main__": #import sys;sys.argv = ['', 'Test.testName'] - unittest.main() \ No newline at end of file + unittest.main() diff --git a/mumo.py b/mumo.py index 4a8e856..1140c2b 100755 --- a/mumo.py +++ b/mumo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010-2013 Stefan Hacker diff --git a/mumo_manager.py b/mumo_manager.py index 6a677d5..18f6f70 100644 --- a/mumo_manager.py +++ b/mumo_manager.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker diff --git a/mumo_manager_test.py b/mumo_manager_test.py index 680ace1..77873ef 100644 --- a/mumo_manager_test.py +++ b/mumo_manager_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -181,4 +181,4 @@ def tearDown(self): if __name__ == "__main__": #import sys;sys.argv = ['', 'Test.testName'] - unittest.main() \ No newline at end of file + unittest.main() diff --git a/mumo_module.py b/mumo_module.py index 5815ed4..7c09b49 100644 --- a/mumo_module.py +++ b/mumo_module.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -98,4 +98,4 @@ def new_fu(self, *args, **kwargs): kwargss = '' if len(kwargs)==0 else ','.join('%s="%s"' % (kw, str(arg)) for kw, arg in kwargs.iteritems()) log.debug("%s(%s%s%s)", fu.__name__, str(self), argss, kwargss) return fu(self, *args, **kwargs) - return new_fu \ No newline at end of file + return new_fu diff --git a/testsuite.py b/testsuite.py index 1675d08..1e5ceb7 100644 --- a/testsuite.py +++ b/testsuite.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -41,4 +41,4 @@ from modules.source.db_test import * #import sys;sys.argv = ['', 'Test.testName'] - unittest.main() \ No newline at end of file + unittest.main() diff --git a/worker.py b/worker.py index d5fce95..36d6ffd 100644 --- a/worker.py +++ b/worker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -143,4 +143,4 @@ def call_by_name(self, handler, function_name, *args, **kwargs): @local_thread_blocking def call_by_name_blocking(self, handler, function_name, *args, **kwargs): - return getattr(handler, function_name)(*args, **kwargs) \ No newline at end of file + return getattr(handler, function_name)(*args, **kwargs) diff --git a/worker_test.py b/worker_test.py index d54b45e..4efbd65 100644 --- a/worker_test.py +++ b/worker_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # -*- coding: utf-8 # Copyright (C) 2010 Stefan Hacker @@ -166,4 +166,4 @@ def tearDown(self): if __name__ == "__main__": #import sys;sys.argv = ['', 'Test.testName'] - unittest.main() \ No newline at end of file + unittest.main()