SerializableConfigParser: Make Loads class indep
authorGuido Trotter <ultrotter@google.com>
Wed, 24 Mar 2010 15:42:39 +0000 (15:42 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 25 Mar 2010 12:47:03 +0000 (12:47 +0000)
commitb39bf4bbababf6bc4b70e4754b7f0597b8510b5b
tree6b9e131dea46fcabb1f0fc5c0287c91144912ba6
parent71834b2a0f1ff70e8da9823f4f691cce30e9b0b2
SerializableConfigParser: Make Loads class indep

Currently SerializableConfigParser.Loads is a static method that returns
a SerializableConfigParser. With this patch we change it to a class
method that returns a member of the class. This way a subclass calling
Loads on itself will get its own member, rather than a bare
SerializableConfigParser.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Balazs Lecz <leczb@google.com>
lib/objects.py