[SCM] dmedia/master: * Improve the couchdb deprecation patch

bilalakhtar-guest at users.alioth.debian.org bilalakhtar-guest at users.alioth.debian.org
Wed Feb 9 08:50:03 UTC 2011


The following commit has been merged in the master branch:
commit 50e37a98635d4a9ecac2af88aa761eac2e9431b5
Author: Bilal Akhtar <bilalakhtar at ubuntu.com>
Date:   Wed Feb 9 11:03:45 2011 +0300

    * Improve the couchdb deprecation patch

diff --git a/debian/patches/02_fix_couchdb_deprecated_function.patch b/debian/patches/02_fix_couchdb_deprecated_function.patch
index bb308d4..6a017f5 100644
--- a/debian/patches/02_fix_couchdb_deprecated_function.patch
+++ b/debian/patches/02_fix_couchdb_deprecated_function.patch
@@ -13,3 +13,12 @@ Applied-Upstream: http://bazaar.launchpad.net/~dmedia/dmedia/trunk/revision/150
  from .util import random_id
  
  
+@@ -206,7 +207,7 @@
+         return (user, password)
+ 
+     def get_port(self):
+-        return desktopcouch.find_port()
++        return desktopcouch.application.platform.find_port()
+ 
+     def get_uri(self):
+         return 'http://localhost:%s' % self.get_port()

-- 
dmedia packaging



More information about the pkg-multimedia-commits mailing list