diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-06 10:23:05 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-09-10 17:57:55 -0400 |
| commit | 1c63df0cc500b7cecbdb3c8b9d1b5b7e732f17d8 (patch) | |
| tree | e555a9b0f8695182d6cc2ba0efa2980d9180bc41 /client/modules | |
| parent | 6f88dcbf91da185b756dfdff7f62f60b04fd8d66 (diff) | |
| download | jasper-client-1c63df0cc500b7cecbdb3c8b9d1b5b7e732f17d8.tar.gz jasper-client-1c63df0cc500b7cecbdb3c8b9d1b5b7e732f17d8.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 'client/modules')
| -rw-r--r-- | client/modules/Birthday.py | 2 | ||||
| -rw-r--r-- | client/modules/Gmail.py | 2 | ||||
| -rw-r--r-- | client/modules/HN.py | 2 | ||||
| -rw-r--r-- | client/modules/Joke.py | 2 | ||||
| -rw-r--r-- | client/modules/Life.py | 2 | ||||
| -rw-r--r-- | client/modules/News.py | 2 | ||||
| -rw-r--r-- | client/modules/Notifications.py | 2 | ||||
| -rw-r--r-- | client/modules/Time.py | 2 | ||||
| -rw-r--r-- | client/modules/Unclear.py | 2 | ||||
| -rw-r--r-- | client/modules/Weather.py | 2 | ||||
| -rw-r--r-- | client/modules/app_utils.py | 2 |
11 files changed, 22 insertions, 0 deletions
diff --git a/client/modules/Birthday.py b/client/modules/Birthday.py index 1388443..35dec59 100644 --- a/client/modules/Birthday.py +++ b/client/modules/Birthday.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import datetime import re from facebook import * diff --git a/client/modules/Gmail.py b/client/modules/Gmail.py index b401ae6..195f0fb 100644 --- a/client/modules/Gmail.py +++ b/client/modules/Gmail.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import imaplib import email import re diff --git a/client/modules/HN.py b/client/modules/HN.py index 863d40a..998625d 100644 --- a/client/modules/HN.py +++ b/client/modules/HN.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import urllib2 import re import random diff --git a/client/modules/Joke.py b/client/modules/Joke.py index 52b3eb9..6d78e7a 100644 --- a/client/modules/Joke.py +++ b/client/modules/Joke.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import random import re diff --git a/client/modules/Life.py b/client/modules/Life.py index 2c79ee1..259d976 100644 --- a/client/modules/Life.py +++ b/client/modules/Life.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import random import re diff --git a/client/modules/News.py b/client/modules/News.py index 8b4b9a3..56ea000 100644 --- a/client/modules/News.py +++ b/client/modules/News.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import feedparser import app_utils import re diff --git a/client/modules/Notifications.py b/client/modules/Notifications.py index fc91da1..2b4cb88 100644 --- a/client/modules/Notifications.py +++ b/client/modules/Notifications.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import re from facebook import * diff --git a/client/modules/Time.py b/client/modules/Time.py index 2fe8a10..ea2c35a 100644 --- a/client/modules/Time.py +++ b/client/modules/Time.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import datetime import re from app_utils import getTimezone diff --git a/client/modules/Unclear.py b/client/modules/Unclear.py index 23ab2ed..6af6082 100644 --- a/client/modules/Unclear.py +++ b/client/modules/Unclear.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- from sys import maxint import random diff --git a/client/modules/Weather.py b/client/modules/Weather.py index ad1ac29..446652a 100644 --- a/client/modules/Weather.py +++ b/client/modules/Weather.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import re import datetime import feedparser diff --git a/client/modules/app_utils.py b/client/modules/app_utils.py index 68cce38..5ac7488 100644 --- a/client/modules/app_utils.py +++ b/client/modules/app_utils.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python2 +# -*- coding: utf-8-*- import smtplib from email.MIMEText import MIMEText import urllib2 |
