From 28de2467442d79a8bfe9d5bdf615b61c3032b8a2 Mon Sep 17 00:00:00 2001 From: Tanguy LE CARROUR Date: Mon, 6 Jun 2011 20:07:34 +0200 Subject: Report bug in arguments processing --- .../comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body | 15 +++++++++++++++ .../comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values | 8 ++++++++ 2 files changed, 23 insertions(+) create mode 100644 .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body create mode 100644 .be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values (limited to '.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89') diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body new file mode 100644 index 0000000..94f5afb --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/body @@ -0,0 +1,15 @@ +BE crashes when too many arguments are provided. + +Ex: be list extra_arg +WARNING:root:unable to import libbe._version: No module named _version +Traceback (most recent call last): + File "/usr/local/bin/be", line 26, in + sys.exit(libbe.ui.command_line.main()) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 331, in main + ret = dispatch(ui, command, args) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 262, in dispatch + options,args = parser.parse_args(args) + File "/home/tanguy/Documents/Repositories/Bugs-Everywhere/tlecarrours-be-reports/libbe/ui/command_line.py", line 128, in parse_args + and self.command.args[-1].repeatable == False: +IndexError: list index out of range + diff --git a/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values new file mode 100644 index 0000000..6154e2e --- /dev/null +++ b/.be/bea86499-824e-4e77-b085-2d581fa9ccab/bugs/bc1e6ff4-478f-4afe-b2a1-86e25ee448b7/comments/a3c3bae1-12fe-4282-bc14-26f09ced8f89/values @@ -0,0 +1,8 @@ +Author: Tanguy LE CARROUR + + +Content-type: text/plain + + +Date: Mon, 06 Jun 2011 18:06:47 +0000 + -- cgit