[packages/caja-dropbox] code style
glen
glen at pld-linux.org
Sun Dec 23 19:26:27 CET 2012
commit c05614c18af4a1c8a28400799533d75f3ae6476f
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/caja-dropbox.git/commitdiff/c05614c18af4a1c8a28400799533d75f3ae6476f
More information about the pld-cvs-commit
mailing list