You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2009/05/29 07:07:25 UTC

svn commit: r779842 - /couchdb/trunk/src/couchdb/couch_rep.erl

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).