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 ) -