summaryrefslogtreecommitdiffstats
path: root/opkg-compare-indexes
AgeCommit message (Collapse)Author
2016-06-01migrate to python 3Alejandro del Castillo
General fixes * Add __future__ imports * Use print function instead of print statement * Use new style classes * Iterate over list, instead of over object.keys() * Use six.iteritems instead of iteritems() opkg.py: * Add conditional to decode string if needed in Package:read_control arfile.py * Add seekable method to FileSection class (needed by tarfile) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
2014-05-05opkg-compare-indexes: Fix usage messagePaul Barker
The usage message had the name of the program wrong. If the number of arguments is not correct then the current code does not show the usage message as indended. Instead it gives an index out of range error if too few arguments are provided or silently ignores extra arguments. This code is fixed so that the length of the arguments list is checked before arguments are accessed, preventing errors and allowing the usage message to be shown correctly. Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2012-04-262to3: dictionary fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: print fixesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-04-262to3: use subprocess instead of commandsMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2008-07-18[opkg-utils] Add opkg-utils to the repository courtsey Richard Purdie of ↵Holger 'Zecke' Freyther
o-hand.com I've attached a first attempt at this, its basically a small set of helper scripts which OE/Poky use when working with ipks. I've applied the various OE improvements and tweaks and removed a ton of cruft we don't need.