Add workaround to get mysql.data dictionary while adding new pages/fams

This commit is contained in:
2015-09-10 23:02:38 +02:00
parent 7535172d30
commit 0f4ce7c4c9

View File

@@ -90,6 +90,8 @@ class MYSQL_RED_PAGE( MYSQL_RED ):
cursor.execute( query, data)
type( self ).connection.commit()
self.data = self.get_page()
def update_page( self, rev_id=None, page_title=None, status=0 ):
@@ -166,6 +168,8 @@ class MYSQL_RED_FAM( MYSQL_RED ):
cursor.execute( query, data)
type( self ).connection.commit()
self.data = self.get_fam()
def update_fam( self, red_page_id, beginning, ending, status ):
"""