Logo Search packages:      
Sourcecode: xdeb version File versions  Download package

def config::TargetConfig::__str__ (   self  ) 

Dump the TargetConfig values for debugging.

Definition at line 274 of file config.py.

00274                    :
    """Dump the TargetConfig values for debugging."""
    output = StringIO()
    pp = pprint.PrettyPrinter(indent=4)
    output.write('Default configs parsed: %s\n' %
                 pp.pformat(self._default_configs_read))
    if self._configs_read:
      output.write('Additional configs parsed: %s\n' %
                   pp.pformat(self._configs_read))
    output.write('\n')

    # Print out each property.
    class_members = self.__class__.__dict__.keys()
    class_members.sort()
    for prop in class_members:
      if isinstance(self.__class__.__dict__[prop], property):
        output.write('%s: %s\n' % (prop, pp.pformat(getattr(self, prop))))

    return output.getvalue()
    return output.getvalue()


Generated by  Doxygen 1.6.0   Back to index