]> git.pld-linux.org Git - packages/epydoc.git/commitdiff
- fix crash on some broken python code
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 3 Oct 2004 14:54:45 +0000 (14:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    epydoc-failed_identifiers.patch -> 1.1

epydoc-failed_identifiers.patch [new file with mode: 0644]

diff --git a/epydoc-failed_identifiers.patch b/epydoc-failed_identifiers.patch
new file mode 100644 (file)
index 0000000..a514ec9
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur epydoc-2.1.orig/epydoc/html.py epydoc-2.1/epydoc/html.py
+--- epydoc-2.1.orig/epydoc/html.py     2004-03-19 20:03:18.000000000 +0100
++++ epydoc-2.1/epydoc/html.py  2004-09-11 21:51:10.668989027 +0200
+@@ -512,7 +512,7 @@
+         if self._failed_xrefs:
+             estr = 'Warning: Failed identifier crossreference targets:\n'
+             failed_identifiers = self._failed_xrefs.keys()
+-            failed_identifiers.sort(lambda a,b: cmp(a[1],b[1]))
++            failed_identifiers.sort()
+             for identifier in failed_identifiers:
+                 uids = self._failed_xrefs[identifier].keys()
+                 uids.sort()
This page took 0.113276 seconds and 4 git commands to generate.