~ubuntu-branches/ubuntu/trusty/desktopcouch/trusty

« back to all changes in this revision

Viewing changes to desktopcouch/pair/couchdb_pairing/couchdb_io.py

  • Committer: Bazaar Package Importer
  • Author(s): Ken VanDine
  • Date: 2010-04-19 12:52:22 UTC
  • mfrom: (12.1.9 lucid)
  • Revision ID: james.westby@ubuntu.com-20100419125222-zsh9lrm15h84951j
* debian/patches/lp_522538.patch
  - Handle reconnects if the server isn't running (LP: #522538)

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
        if key in record.value:  # EAFP, rather than LBYL?  Nones default?
213
213
            value = record.value[key]
214
214
            if value is not None:
215
 
                if "_order" in value:  # MergableList, so decode.
216
 
                    values.append([value[k] for k in value["_order"]])
217
 
                else:
218
 
                    values.append(value)
 
215
                values.append(value)
219
216
            else:
220
217
                logging.debug("skipping record empty %s", key)
221
218
        else: