BTS

Issue869

Title grml-paste: traceback if calling "grml-paste help" without any action
Priority bug Status resolved
Superseder Nosy List ch, gebi, mika
Assigned To gebi Topics

Created on 2010-06-14.12:38:45 by mika, last changed 2010-12-02.17:57:38 by mika.

Files
File name Uploaded Type Edit Remove
0001-handle-help-with-no-args.patch ch, 2010-10-11.11:23:07 text/plain
Messages
msg3582 (view) Author: mika Date: 2010-12-02.17:57:38
Fixed in recent grml-paste, thanks.
msg3376 (view) Author: gebi Date: 2010-10-11.13:44:56
thx for the patch :)!
i've fixed it upstream in http://github.com/gebi/debianpaste-clients/commit/51f714aaa788dd1099e4eae5abb4dbc3115b1948
msg3370 (view) Author: ch Date: 2010-10-11.11:23:07
Have a hack-ish "fix".
msg3224 (view) Author: mika Date: 2010-06-14.12:38:44
% grml-paste help
Traceback (most recent call last):
  File "/usr/bin/grml-paste", line 148, in <module>
    (msg, ret) = action.call(actions[cmd])
  File "/usr/bin/grml-paste", line 47, in call
    return self.__getattribute__(method_name)()
  File "/usr/bin/grml-paste", line 96, in actionHelp
    alias = self.args_.pop(0)
IndexError: pop from empty list

Notice: this is located in grml-paste.git on git.grml.org nowadays, which is 
based on http://github.com/gebi/debianpaste-clients
History
Date User Action Args
2010-12-02 17:57:38mikasetstatus: fixed-in-git -> resolved
nosy: mika, gebi, ch
messages: + msg3582
2010-10-12 11:22:47gebisetstatus: chatting -> fixed-in-git
nosy: mika, gebi, ch
2010-10-11 13:44:57gebisetnosy: mika, gebi, ch
messages: + msg3376
2010-10-11 11:23:08chsetstatus: unread -> chatting
nosy: + ch
messages: + msg3370
files: + 0001-handle-help-with-no-args.patch
2010-06-14 12:38:45mikacreate