couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject svn commit: r779842 - /couchdb/trunk/src/couchdb/couch_rep.erl
Date Fri, 29 May 2009 05:07:25 GMT
Author: kocolosk
Date: Fri May 29 05:07:24 2009
New Revision: 779842

URL: http://svn.apache.org/viewvc?rev=779842&view=rev
Log:
the atom doesn't necessarily exist

Modified:
    couchdb/trunk/src/couchdb/couch_rep.erl

Modified: couchdb/trunk/src/couchdb/couch_rep.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep.erl?rev=779842&r1=779841&r2=779842&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep.erl Fri May 29 05:07:24 2009
@@ -692,7 +692,7 @@
             
 get_db_info(#http_db{uri=DbUrl, headers=Headers}) ->
     {DbProps} = do_http_request(DbUrl, get, Headers),
-    {ok, [{list_to_existing_atom(?b2l(K)), V} || {K,V} <- DbProps]};
+    {ok, [{list_to_atom(?b2l(K)), V} || {K,V} <- DbProps]};
 get_db_info(Db) ->
     couch_db:get_db_info(Db).
 



Mime
View raw message