You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2009/06/25 07:04:27 UTC
svn commit: r788261 - /couchdb/trunk/src/couchdb/couch_config.erl
Author: davisp
Date: Thu Jun 25 05:04:27 2009
New Revision: 788261
URL: http://svn.apache.org/viewvc?rev=788261&view=rev
Log:
Of course some of them were 8 space tabs.
Modified:
couchdb/trunk/src/couchdb/couch_config.erl
Modified: couchdb/trunk/src/couchdb/couch_config.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_config.erl?rev=788261&r1=788260&r2=788261&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_config.erl (original)
+++ couchdb/trunk/src/couchdb/couch_config.erl Thu Jun 25 05:04:27 2009
@@ -193,10 +193,11 @@
{AccSectionName, AccValues};
{ok, [ValueName|LineValues]} -> % yeehaw, got a line!
RemainingLine = couch_util:implode(LineValues, "="),
+ % removes comments
{ok, [LineValue | _Rest]} =
- regexp:split(RemainingLine, " ;|\t;"), % removes comments
+ regexp:split(RemainingLine, " ;|\t;"),
{AccSectionName,
- [{{AccSectionName, ValueName}, LineValue} | AccValues]}
+ [{{AccSectionName, ValueName}, LineValue} | AccValues]}
end
end
end, {"", []}, Lines),