weboob-devel/weboob/tools
theo 8c977825b9 ls dir is equivalent to cd dir + ls + cd ..
Until now, ls discarded arguments.

ls = ls dir:

videoob> ls
~ (emissions) Emissions (canalplus)
~ (sport) Sport (canalplus)
~ (cinema) Cinema (canalplus)
~ (cesar-2012) Cesar 2012 (canalplus)
~ (series-fictions) Series / fictions (canalplus)
~ (du-hard-ou-du-cochon) Du hard ou du cochon (canalplus)
~ (divertissement) Divertissement (canalplus)
~ (canal-street) Canal street (canalplus)
~ (musique) Musique (canalplus)
~ (docus-infos) Docus / infos (canalplus)
videoob> ls sport
~ (emissions) Emissions (canalplus)
~ (sport) Sport (canalplus)
~ (cinema) Cinema (canalplus)
~ (cesar-2012) Cesar 2012 (canalplus)
~ (series-fictions) Series / fictions (canalplus)
~ (du-hard-ou-du-cochon) Du hard ou du cochon (canalplus)
~ (divertissement) Divertissement (canalplus)
~ (canal-street) Canal street (canalplus)
~ (musique) Musique (canalplus)
~ (docus-infos) Docus / infos (canalplus)

With this patch, we are now able to ls a dir without chdir into it.

For instance:
videoob> ls
~ (emissions) Emissions (canalplus)
~ (sport) Sport (canalplus)
~ (cinema) Cinema (canalplus)
~ (cesar-2012) Cesar 2012 (canalplus)
~ (series-fictions) Series / fictions (canalplus)
~ (du-hard-ou-du-cochon) Du hard ou du cochon (canalplus)
~ (divertissement) Divertissement (canalplus)
~ (canal-street) Canal street (canalplus)
~ (musique) Musique (canalplus)
~ (docus-infos) Docus / infos (canalplus)
videoob> ls sport
~ (les-incontournables) Les incontournables (canalplus)
~ (les-plus-recentes) Les plus recentes (canalplus)
~ (les-plus-vues) Les plus vues (canalplus)
~ (tout-le-football) Tout le football (canalplus)
~ (tout-le-rugby) Tout le rugby (canalplus)
~ (tout-le-basket) Tout le basket (canalplus)
~ (tout-le-tennis-golf) Tout le tennis / golf (canalplus)
~ (autres-sports-home-sport) Autres sports - home sport (canalplus)
~ (les-emissions-sport) Les emissions sport (canalplus)
videoob> ls
~ (emissions) Emissions (canalplus)
~ (sport) Sport (canalplus)
~ (cinema) Cinema (canalplus)
~ (cesar-2012) Cesar 2012 (canalplus)
~ (series-fictions) Series / fictions (canalplus)
~ (du-hard-ou-du-cochon) Du hard ou du cochon (canalplus)
~ (divertissement) Divertissement (canalplus)
~ (canal-street) Canal street (canalplus)
~ (musique) Musique (canalplus)
~ (docus-infos) Docus / infos (canalplus)

Signed-off-by: theo <theocrite@theocrite.org>
2012-03-16 17:20:18 +01:00
..
application ls dir is equivalent to cd dir + ls + cd .. 2012-03-16 17:20:18 +01:00
browser use urlparse to parse proxy url 2012-03-14 19:44:46 +01:00
capabilities bump to 0.c 2012-03-14 22:09:24 +01:00
captcha PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
config PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
parsers Use simplejson first, and centralize import 2012-03-16 16:27:22 +01:00
__init__.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
backend.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
decorators.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
inspect.py change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
json.py Use simplejson first, and centralize import 2012-03-16 16:27:22 +01:00
log.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
mech.py change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
misc.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
newsfeed.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
ordereddict.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
path.py Make Collection more safe and sane 2012-03-13 22:08:45 +01:00
property.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
storage.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00
test.py Switch back to running tests for one backend only 2011-05-04 23:18:29 +02:00
value.py disable keyrings without warnings in pyflakes (refs #706) 2012-02-02 15:59:01 +01:00