2016-03-09 | Paul Boddie | raw files shortlog changelog graph | Added a to_string convenience method. | freebusy-collections |
imiptools/data.py (file) |
1.1 --- a/imiptools/data.py Tue Mar 08 14:22:21 2016 +0100 1.2 +++ b/imiptools/data.py Wed Mar 09 00:06:08 2016 +0100 1.3 @@ -148,6 +148,9 @@ 1.4 def to_part(self, method): 1.5 return to_part(method, [self.to_node()]) 1.6 1.7 + def to_string(self): 1.8 + return to_string(self.to_node()) 1.9 + 1.10 # Direct access to the structure. 1.11 1.12 def has_key(self, name):