Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
topydo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
topydo
Commits
5aadc375
Commit
5aadc375
authored
Apr 25, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #127 from mruwek/fix-107-column
Don't crash on shlex.split in column UI
parents
9550c16a
64d59162
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
topydo/cli/Prompt.py
topydo/cli/Prompt.py
+1
-0
topydo/ui/Main.py
topydo/ui/Main.py
+6
-1
No files found.
topydo/cli/Prompt.py
View file @
5aadc375
...
...
@@ -101,6 +101,7 @@ class PromptApplication(CLIApplicationBase):
continue
except
ValueError
as
verr
:
error
(
'Error: '
+
str
(
verr
))
continue
mtime_after
=
_todotxt_mtime
()
...
...
topydo/ui/Main.py
View file @
5aadc375
...
...
@@ -245,7 +245,12 @@ class UIApplication(CLIApplicationBase):
p_todo_id
=
' '
.
join
(
self
.
marked_todos
)
p_command
=
p_command
.
format
(
p_todo_id
)
try
:
p_command
=
shlex
.
split
(
p_command
)
except
ValueError
as
verr
:
self
.
_print_to_console
(
'Error: '
+
str
(
verr
))
return
try
:
(
subcommand
,
args
)
=
get_subcommand
(
p_command
)
except
ConfigError
as
cerr
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment