Revision b39bf4bb

b/lib/objects.py
1034 1034
    self.write(buf)
1035 1035
    return buf.getvalue()
1036 1036

  
1037
  @staticmethod
1038
  def Loads(data):
1037
  @classmethod
1038
  def Loads(cls, data):
1039 1039
    """Load data from a string."""
1040 1040
    buf = StringIO(data)
1041
    cfp = SerializableConfigParser()
1041
    cfp = cls()
1042 1042
    cfp.readfp(buf)
1043 1043
    return cfp

Also available in: Unified diff