~dobey/ubuntuone-client/oauth-log-fixes

« back to all changes in this revision

Viewing changes to bin/ubuntuone-client-applet

  • Committer: Tarmac
  • Author(s): stuart.langridge at canonical
  • Date: 2009-09-30 14:31:41 UTC
  • mfrom: (225.2.1 u1client-create-mgt-db)
  • Revision ID: dobey@gnome.org-20090930143141-vvepea32422k2jws
Create management database if it does not exist

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
                  " desktopcouch is not installed"))
329
329
              return
330
330
          # Check whether there is already a record of the Ubuntu One service
331
 
          db = CouchDatabase("management")
 
331
          db = CouchDatabase("management", create=True)
332
332
          if not db.view_exists("ubuntu_one_pair_record","ubuntu_one_pair_record"):
333
333
              map_js = """function(doc) {
334
334
                  if (doc.service_name == "ubuntuone") {