Skip to contentSkip to conversation

Patch for 'ketchup -l'

ketchup Michael Opdenacker 1 participant 1 message Jan 17, 2006

lore
Share & tools
lore
#0 lore raw

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
=======================

Quoted 1 line

From Michael Opdenacker <[email protected]>

Issue
-----

Quoted 1 line

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

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