[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [augeas-devel] Patch for Samba.aug



On Fri, 2009-12-04 at 15:20 -0500, Partha Aji wrote:
> The samba augeas lens had issues dealing with entry key names that had ':' in them like,
> 		recycle:repository = .recycle
> 		recycle:keeptree = yes
> 		recycle:versions = yes
> 
> The attached patch fixes this issue. 


> diff --git a/lenses/samba.aug b/lenses/samba.aug
> index 4b303f6..28b9cf1 100644
> --- a/lenses/samba.aug
> +++ b/lenses/samba.aug
> @@ -14,7 +14,7 @@ module Samba =
>   *************************************************************************)
>  
>  let comment  = IniFile.comment IniFile.comment_re IniFile.comment_default
> -let sep      = del /[ \t]*[=:]/ " ="
> +let sep      = del /[ \t]*[=]/ " ="
>  let indent   = del /[ \t]*/ "   "

Why the change to sep ? Can ':' be used for the same purpose as '=' ?

David




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]