[ketchup] Patch for 'ketchup -l'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For people managing kernel sources with the excellent 'ketchup' tool (http://www.selenic.com/ketchup/wiki/index.cgi/FrontPage)

Patch for ketchup 0.9.6
=======================

From Michael Opdenacker <[email protected]>

Issue
-----

ketchup -l
2.4 (signed)
old stable kernel series
2.4-pre (signed)
old stable kernel series prereleases
2.6 (signed)
current stable kernel series
2.6-bk (signed)
old stable kernel series snapshots
Traceback (most recent call last):
 File "/data/soft/src/ketchup", line 686, in ?
   lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])
TypeError: list indices must be integers

Explanation
-----------

For tree '2.6-ck', version_info[tree][3]=='.sig'
instead of '0' or '1'.

The below code only supported the '0' and '1' cases:

lprint(tree, ["(unsigned)","(signed)"][version_info[tree][3]])
Fix
---

http://free-electrons.com/pub/patches/ketchup/20060112a/ketchup-l-fix.patch

--
Michael Opdenacker, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux