[Pkg-owncloud-commits] [owncloud-client] 01/02: Added patch from upstream to fix python syntax.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sun Mar 22 17:31:59 UTC 2015
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 229250b7c5fae8b9ffc37d97e7fe51fa0f3d136b
Author: Sandro Knauß <bugs at sandroknauss.de>
Date: Sun Mar 22 18:26:39 2015 +0100
Added patch from upstream to fix python syntax.
---
.../patches/0008-fix-python3-syntax-errors.patch | 43 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 44 insertions(+)
diff --git a/debian/patches/0008-fix-python3-syntax-errors.patch b/debian/patches/0008-fix-python3-syntax-errors.patch
new file mode 100644
index 0000000..0537f8c
--- /dev/null
+++ b/debian/patches/0008-fix-python3-syntax-errors.patch
@@ -0,0 +1,43 @@
+From b1100cd9e5cf7748b953e6ccecca8f6e90644f7e Mon Sep 17 00:00:00 2001
+From: Hefee <hefee at netzguerilla.net>
+Date: Sun, 22 Mar 2015 17:49:09 +0100
+Subject: [PATCH] fix python3 syntax errors
+
+---
+ shell_integration/nautilus/syncstate.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py
+index 0b5e37d..bfa18ee 100755
+--- a/shell_integration/nautilus/syncstate.py
++++ b/shell_integration/nautilus/syncstate.py
+@@ -67,7 +67,7 @@ class SocketConnect(GObject.GObject):
+ print("Sending failed.")
+ self.reconnect()
+ else:
+- print "Cannot send, not connected!"
++ print("Cannot send, not connected!")
+
+ def addListener(self, listener):
+ self._listeners.append(listener)
+@@ -85,7 +85,7 @@ class SocketConnect(GObject.GObject):
+ self.connected = True
+ print("Setting connected to %r" % self.connected )
+ self._watch_id = GObject.io_add_watch(self._sock, GObject.IO_IN, self._handle_notify)
+- print "Socket watch id: "+str(self._watch_id)
++ print("Socket watch id: "+str(self._watch_id))
+ return False # don't run again
+ except Exception as e:
+ print("Could not connect to unix socket." + str(e))
+@@ -175,7 +175,7 @@ class MenuExtension(GObject.GObject, Nautilus.MenuProvider):
+
+ def menu_share(self, menu, file):
+ filename = get_local_path(file.get_uri())
+- print "Share file "+filename
++ print("Share file "+filename)
+ socketConnect.sendCommand("SHARE:"+filename+"\n")
+
+
+--
+2.1.4
+
diff --git a/debian/patches/series b/debian/patches/series
index d005e72..6587213 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
0005-remove_admin.patch
0006-move-configfile.patch
0007-move-translations.patch
+0008-fix-python3-syntax-errors.patch
--
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