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

def configobj::ConfigObj::_write_line (   self,
  indent_string,
  entry,
  this_entry,
  comment 
) [private]
Write an individual line, for the write method

Definition at line 1932 of file configobj.py.

                                                                    :
        """Write an individual line, for the write method"""
        # NOTE: the calls to self._quote here handles non-StringType values.
        if not self.unrepr:
            val = self._decode_element(self._quote(this_entry))
        else:
            val = repr(this_entry)
        return '%s%s%s%s%s' % (indent_string,
                               self._decode_element(self._quote(entry, multiline=False)),
                               self._a_to_u(' = '),
                               val,
                               self._decode_element(comment))



Generated by  Doxygen 1.6.0   Back to index