Lines Matching refs:comment
28 ## multi line Samba comment
31 def __init__( self, comment ):
32 self.comment = comment
35 if not self.comment:
37 for line in self.comment:
56 def __init__( self, name, value, comment=None ):
58 self.comment = None
61 if comment :
62 self.comment = SambaComment( comment )
73 if self.comment:
74 self.comment.Dump( stream, "\t" )
153 ## the most recent seen comment is stored as an array
189 ## reset the comment strinf if we have one
195 def SetGlobalOption( self, param, value, comment=None ) :
196 self.SetServiceOption( "GLOBAL", param, value, comment )
199 def SetServiceOption( self, servicename, param, value, comment=None ) :
203 self.services[service][parm] = SambaParameter( parm, value, comment )
213 def AddService( self, servicename, comment=None ) :
219 if ( comment ):
220 self.services[service]['_comment_'] = SambaComment( comment )