(self)
Prints out ini file from doc string of the script of default for dbscript

        Used by --ini option on command line.
Prints out ini file from doc string of the script of default for dbscript
Prints out ini file from doc string of the script of default for dbscript
def print_ini(self):
        """Prints out ini file from doc string of the script of default for dbscript

        Used by --ini option on command line.
        """

        # current service name
        print("[%s]\n" % self.service_name)

        # walk class hierarchy
        bases = [self.__class__]
        while len(bases) > 0:
            parents = []
            for c in bases:
                for p in c.__bases__:
                    if p not in parents:
                        parents.append(p)
                doc = c.__doc__
                if doc:
                    self._print_ini_frag(doc)
            bases = parents
def print_ini ( self ) : # current service name print ( "[%s]\n" % self . service_name ) # walk class hierarchy bases = [ self . __class__ ] while len ( bases ) > 0 : parents = [ ] for c in bases : for p in c . __bases__ : if p not in parents : parents . append ( p ) doc = c . __doc__ if doc : self . _print_ini_frag ( doc ) bases = parents