]> git.pld-linux.org Git - packages/caja-dropbox.git/commitdiff
code style
authorElan Ruusamäe <glen@delfi.ee>
Sun, 23 Dec 2012 18:26:11 +0000 (20:26 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 23 Dec 2012 18:26:11 +0000 (20:26 +0200)
dropboxd-path.patch

index f39a0ed6b6f5745cb6c2f930b13f0bf060950422..b9098a282c7efd2b448b9f6c2f171110c6a8f299 100644 (file)
@@ -5,10 +5,10 @@
  
  def start_dropbox():
 -    db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
-+      # first try dropboxd from system, fallback to user install
++    # first try dropboxd from system, fallback to user install
 +    db_path = "/usr/bin/dropboxd"
 +    if not os.access(db_path, os.X_OK):
-+              db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
++        db_path = os.path.expanduser(u"~/.dropbox-dist/dropboxd").encode(sys.getfilesystemencoding())
      if os.access(db_path, os.X_OK):
          f = open("/dev/null", "w")
          # we don't reap the child because we're gonna die anyway, let init do it
This page took 0.091454 seconds and 4 git commands to generate.