[Pkg-owncloud-commits] [owncloud-client] 304/332: NautilusOverlays: return False if sock connection breaks

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu Aug 14 21:07:15 UTC 2014


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 2ccfdcb084f5896a6f8909c490cbcf7c93a79108
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Wed Aug 6 09:52:44 2014 +0200

    NautilusOverlays: return False if sock connection breaks
---
 shell_integration/nautilus/ownCloud.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/shell_integration/nautilus/ownCloud.py b/shell_integration/nautilus/ownCloud.py
index 585a7b2..ac1ad54 100755
--- a/shell_integration/nautilus/ownCloud.py
+++ b/shell_integration/nautilus/ownCloud.py
@@ -98,6 +98,8 @@ class ownCloudExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoP
 
 	    for l in data.split('\n'):
 	        self.handle_server_response( l )
+        else:
+            return False
 
 	return True # run again
 	    
@@ -122,4 +124,4 @@ class ownCloudExtension(GObject.GObject, Nautilus.ColumnProvider, Nautilus.InfoP
 		self.askForOverlay(filename)
 		break
 	    else:
-		print "Not in scope:"+filename
\ No newline at end of file
+		print "Not in scope:"+filename

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list