diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-06 10:23:05 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-06 10:23:05 +0200 |
| commit | c231090615f552adab46f5ac6fe31aa632588edf (patch) | |
| tree | aa708d12bc02fb481d296a062dbd5b530671f435 /boot | |
| parent | b6e43491ca4a3ef3d0efe73c48c44b91982a96f6 (diff) | |
| download | jasper-client-c231090615f552adab46f5ac6fe31aa632588edf.tar.gz jasper-client-c231090615f552adab46f5ac6fe31aa632588edf.zip | |
Add shebang and PEP 0263 source encoding to every module
Source encoding should be specified and a shebang helps to execute a module directly (either to start jasper or just for testing purposes).
Diffstat (limited to 'boot')
| -rwxr-xr-x | boot/boot.py | 4 | ||||
| -rw-r--r-- | boot/test.py | 2 | ||||
| -rw-r--r-- | boot/vocabcompiler.py | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/boot/boot.py b/boot/boot.py index a8141cb..22a36a5 100755 --- a/boot/boot.py +++ b/boot/boot.py @@ -1,5 +1,5 @@ -#!/usr/bin/env python - +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import os import urllib2 import sys diff --git a/boot/test.py b/boot/test.py index 3d93936..638ca77 100644 --- a/boot/test.py +++ b/boot/test.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import os if os.environ.get('JASPER_HOME') is None: diff --git a/boot/vocabcompiler.py b/boot/vocabcompiler.py index a3aaf66..9177db4 100644 --- a/boot/vocabcompiler.py +++ b/boot/vocabcompiler.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- """ Iterates over all the WORDS variables in the modules and creates a dictionary for the client. """ |
