示例#1
0
    def __init__(self, calendar, inventory=None, hostaddr=None):
        ConnectDB.__init__(self, umitdb)
        ChangesRetrieve.__init__(self, self.conn, self.cursor)

        self.calendar = calendar
        self.inventory = inventory
        self.hostaddr = hostaddr
示例#2
0
    def __init__(self, database, store_original=False):
        """
        store_original  -   stores xml files in the database or not
        """

        ConnectDB.__init__(self, database)
        InventoryRetrieve.__init__(self, self.conn, self.cursor)
        RawStore.__init__(self, self.conn, self.cursor)

        self.database = database
        self.store_original = store_original
示例#3
0
 def __init__(self, db):
     ConnectDB.__init__(self, db)
     InventoryRetrieve.__init__(self, self.conn, self.cursor)
示例#4
0
    def __init__(self):
        ConnectDB.__init__(self, UMITDB)
        InventoryRetrieve.__init__(self, self.conn, self.cursor)

        self.invdata = None
        self.database_stat = None
示例#5
0
 def __init__(self, db):
     """
     Expects an umit database.
     """
     ConnectDB.__init__(self, db)
     CompositeRetrieve.__init__(self, self.conn, self.cursor)
示例#6
0
 def __init__(self, database):
     ConnectDB.__init__(self, database)
     CompositeRetrieve.__init__(self, self.conn, self.cursor)
 def __init__(self, database):
     ConnectDB.__init__(self, database)
     InventoryRetrieve.__init__(self, self.conn, self.cursor)
     RawStore.__init__(self, self.conn, self.cursor)