r13418 - in /packages/unstable/epiphany-extensions/debian: changelog patches/delicious.diff

joss at users.alioth.debian.org joss at users.alioth.debian.org
Sat Nov 10 11:10:59 UTC 2007


Author: joss
Date: Sat Nov 10 11:10:59 2007
New Revision: 13418

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=13418
Log:
* delicious.diff: stolen from upstream SVN; workaround for a browser 
  freeze. Closes: #448685.

Added:
    packages/unstable/epiphany-extensions/debian/patches/delicious.diff
Modified:
    packages/unstable/epiphany-extensions/debian/changelog

Modified: packages/unstable/epiphany-extensions/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/epiphany-extensions/debian/changelog?rev=13418&op=diff
==============================================================================
--- packages/unstable/epiphany-extensions/debian/changelog (original)
+++ packages/unstable/epiphany-extensions/debian/changelog Sat Nov 10 11:10:59 2007
@@ -1,3 +1,10 @@
+epiphany-extensions (2.20.1-2) UNRELEASED; urgency=low
+
+  * delicious.diff: stolen from upstream SVN; workaround for a browser 
+    freeze. Closes: #448685.
+
+ -- Josselin Mouette <joss at debian.org>  Sat, 10 Nov 2007 12:10:57 +0100
+
 epiphany-extensions (2.20.1-1) unstable; urgency=low
 
   [ Sam Morris ]

Added: packages/unstable/epiphany-extensions/debian/patches/delicious.diff
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/epiphany-extensions/debian/patches/delicious.diff?rev=13418&op=file
==============================================================================
--- packages/unstable/epiphany-extensions/debian/patches/delicious.diff (added)
+++ packages/unstable/epiphany-extensions/debian/patches/delicious.diff Sat Nov 10 11:10:59 2007
@@ -1,0 +1,17 @@
+--- branches/gnome-2-20/extensions/epilicious/delicious.py	2007/09/12 18:58:47	1571
++++ branches/gnome-2-20/extensions/epilicious/delicious.py	2007/11/01 01:11:50	1602
+@@ -53,11 +53,14 @@
+     # silly I know!
+ 
+     def decorate(*args, **kwargs):
++        attempt = 0
+         while 1:
+             try:
+                 time.sleep(1)
+                 return function(*args, **kwargs)
+             except urllib2.HTTPError, e:
++                attempt += 1
++                if attempt > 3: raise e # fed up trying
+                 if e.code == 503:
+                     print '503'
+                     time.sleep(30)




More information about the pkg-gnome-commits mailing list