From 9e865e1c2f5a76b9f4107290c9957badf3e9302a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?GOLDERWEB=20=E2=80=93=20Jonathan=20Golder?= Date: Thu, 10 Sep 2015 11:57:10 +0200 Subject: [PATCH] Some clean ups --- mysql_red.py | 2 ++ red_fam.py | 3 ++- red_page.py | 4 +++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mysql_red.py b/mysql_red.py index 5a69aaf..e95ad6d 100644 --- a/mysql_red.py +++ b/mysql_red.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- try: import oursql as mysqldb diff --git a/red_fam.py b/red_fam.py index 77afd4c..9d3afa9 100644 --- a/red_fam.py +++ b/red_fam.py @@ -1,3 +1,5 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- import hashlib import re @@ -190,4 +192,3 @@ class RED_FAM_WORKER( RED_FAM ): Handles working with redundance families stored in database where discussion is finished """ pass -print( repr( x ) ) diff --git a/red_page.py b/red_page.py index c7c6ec3..d0df358 100644 --- a/red_page.py +++ b/red_page.py @@ -1,3 +1,6 @@ +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- + from mysql_red import MYSQL_RED_PAGE class RED_PAGE: @@ -74,4 +77,3 @@ class RED_PAGE: status = 0 self.__mysql.update_page( self.page._revid, self.page.title, status ) -