From 49def6f0f0a965732abbda1e63f91f956f34d0bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?GOLDERWEB=20=E2=80=93=20Jonathan=20Golder?= Date: Sat, 5 Sep 2015 17:13:09 +0200 Subject: [PATCH] Implement a class MYSQL_RED_FAM as desecendant of MYSQL_RED for handling querys about red_families --- mysql_red.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mysql_red.py b/mysql_red.py index df10232..d6456a8 100644 --- a/mysql_red.py +++ b/mysql_red.py @@ -58,3 +58,12 @@ class MYSQL_RED_PAGE( MYSQL_RED ): return res else: return False + +class MYSQL_RED_FAM( MYSQL_RED ): + + def __init__( self, db_hostname, db_username, db_password, db_name ): + """ + Creates a new instance, runs __init__ of parent class + """ + super().__init__( db_hostname, db_username, db_password, db_name ) +