[packages/nautilus-dropbox] code style

glen glen at pld-linux.org
Sun Dec 23 19:27:32 CET 2012


commit d8d5b2a584163b08488ace9725507789ca183e26
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Dec 23 20:26:11 2012 +0200

    code style

 dropboxd-path.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dropboxd-path.patch b/dropboxd-path.patch
index f39a0ed..b9098a2 100644
--- a/dropboxd-path.patch
+++ b/dropboxd-path.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nautilus-dropbox.git/commitdiff/d8d5b2a584163b08488ace9725507789ca183e26



More information about the pld-cvs-commit mailing list