couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r788261 - /couchdb/trunk/src/couchdb/couch_config.erl
Date Thu, 25 Jun 2009 05:04:27 GMT
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),



Mime
View raw message