Source

Portfolio / trike / src / loader / element / gccxml_namespace.py

from element import Element

class GccxmlNamespace(Element):
    def __init__(self, attributes, db, connection, xmlfile_id, name='gccxml_namespace', table='gccxml_namespace'):
        self.attributes = attributes
        self.db = db
        self.connection = connection
        self.name = name
        self.table = table
        self.xmlfile_id = xmlfile_id

    def save(self):
        super(GccxmlNamespace, self).save(self.attributes, self.db, self.connection, self.table, self.xmlfile_id)