[Python-modules-commits] r11299 - in packages/urwid/trunk/debian (3 files)

wardi-guest at users.alioth.debian.org wardi-guest at users.alioth.debian.org
Mon Jan 25 13:08:07 UTC 2010


    Date: Monday, January 25, 2010 @ 13:07:51
  Author: wardi-guest
Revision: 11299

* New upstream release
* Closes: #565162
* fix_attrwrap_doctests patch no longer required

Modified:
  packages/urwid/trunk/debian/changelog
  packages/urwid/trunk/debian/patches/series
Deleted:
  packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff

Modified: packages/urwid/trunk/debian/changelog
===================================================================
--- packages/urwid/trunk/debian/changelog	2010-01-25 08:31:33 UTC (rev 11298)
+++ packages/urwid/trunk/debian/changelog	2010-01-25 13:07:51 UTC (rev 11299)
@@ -1,3 +1,11 @@
+urwid (0.9.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Closes: #565162
+  * fix_attrwrap_doctests patch no longer required
+
+ -- Ian Ward <ian at excess.org>  Mon, 25 Jan 2010 12:57:53 +0000
+
 urwid (0.9.9-2) unstable; urgency=low
 
   * fix for failing doctest under powerpc

Deleted: packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff
===================================================================
--- packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff	2010-01-25 08:31:33 UTC (rev 11298)
+++ packages/urwid/trunk/debian/patches/733cb2e09111_fix_attrwrap_doctests.diff	2010-01-25 13:07:51 UTC (rev 11299)
@@ -1,38 +0,0 @@
-
-# HG changeset patch
-# User Ian Ward
-# Date 1259086756 18000
-# Node ID 733cb2e091115b3f6fda0bf661405ae88cdf1e63
-# Parent  948d0ddf35b79d649b4dc4c20bf24175b787a51d
-normalize split_repr display of dictionary values, fixes AttrWrap doctests
-
---- a/urwid/split_repr.py	Tue Nov 24 12:32:51 2009 -0500
-+++ b/urwid/split_repr.py	Tue Nov 24 13:19:16 2009 -0500
-@@ -54,8 +54,25 @@
-     if words and alist: words.append("")
-     return "<%s %s>" % (self.__class__.__name__,
-         " ".join(words) +
--        " ".join(["%s=%r" % (k,v) for k,v in alist]))
-+        " ".join(["%s=%s" % (k,normalize_repr(v)) for k,v in alist]))
-     
-+def normalize_repr(v):
-+    """
-+    Return dictionary repr sorted by keys, leave others unchanged
-+
-+    >>> normalize_repr({1:2,3:4,5:6,7:8})
-+    '{1: 2, 3: 4, 5: 6, 7: 8}'
-+    >>> normalize_repr('foo')
-+    "'foo'"
-+    """
-+    if isinstance(v, dict):
-+        items = v.items()
-+        items.sort()
-+        return "{" + ", ".join([
-+            repr(k) + ": " + repr(v) for k, v in items]) + "}"
-+
-+    return repr(v)
-+
-     
- def remove_defaults(d, fn):
-     """
-

Modified: packages/urwid/trunk/debian/patches/series
===================================================================
--- packages/urwid/trunk/debian/patches/series	2010-01-25 08:31:33 UTC (rev 11298)
+++ packages/urwid/trunk/debian/patches/series	2010-01-25 13:07:51 UTC (rev 11299)
@@ -1 +0,0 @@
-733cb2e09111_fix_attrwrap_doctests.diff




More information about the Python-modules-commits mailing list