From 518358e284bddbf2698cbb1618e892457ce01cc5 Mon Sep 17 00:00:00 2001 From: Bezleputh Date: Thu, 4 Jul 2013 13:36:03 +0200 Subject: [PATCH] correct console application --- weboob/applications/handjoob/handjoob.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/weboob/applications/handjoob/handjoob.py b/weboob/applications/handjoob/handjoob.py index c279d759..e1bbbdd5 100644 --- a/weboob/applications/handjoob/handjoob.py +++ b/weboob/applications/handjoob/handjoob.py @@ -56,21 +56,7 @@ class JobAdvertFormatter(IFormatter): class JobAdvertListFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'title') - """ - def format_obj(self, obj, alias): - title = self.get_title(obj) - desc = self.get_description(obj) - if desc is None: - title = '%s%s%s' % (self.NC, title, self.BOLD) - - result = u'%s* (%s)\n %s%s' % (self.BOLD, obj.fullid, title, self.NC) - - if desc is not None: - result += u'\n\t%s' % desc - - return result - """ def get_title(self, obj): return '%s' % (obj.title) @@ -101,10 +87,6 @@ class Handjoob(ReplApplication): 'info': 'job_advert', } - def main(self, argv): - self.load_config() - return ReplApplication.main(self, argv) - def do_search(self, pattern): """ search PATTERN