Use class attributes as much as possible for application output
refs #803
This commit is contained in:
parent
ee8e7cee3d
commit
c07e23cafc
35 changed files with 228 additions and 260 deletions
|
|
@ -18,7 +18,6 @@
|
|||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
import sys
|
||||
|
||||
from weboob.tools.application.repl import ReplApplication
|
||||
|
||||
|
|
@ -42,7 +41,7 @@ class WeboobCli(ReplApplication):
|
|||
|
||||
def main(self, argv):
|
||||
if len(argv) < 3:
|
||||
print >>sys.stderr, "Syntax: %s capability method [args ..]" % argv[0]
|
||||
print >>self.stderr, "Syntax: %s capability method [args ..]" % argv[0]
|
||||
return 2
|
||||
|
||||
cap_s = argv[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue