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
bf851310
Commit
bf851310
authored
Nov 01, 2014
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename method.
parent
5a7aeb10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
topydo/lib/DCommand.py
topydo/lib/DCommand.py
+2
-2
topydo/lib/DoCommand.py
topydo/lib/DoCommand.py
+1
-1
No files found.
topydo/lib/DCommand.py
View file @
bf851310
...
...
@@ -86,7 +86,7 @@ class DCommand(Command):
""" An additional condition whether execute_specific should be executed. """
return
True
def
condition
FailedT
ext
(
self
):
def
condition
_failed_t
ext
(
self
):
return
""
def
execute_specific
(
self
):
...
...
@@ -112,5 +112,5 @@ class DCommand(Command):
elif
not
self
.
todo
:
self
.
error
(
"Invalid todo number given."
)
else
:
self
.
error
(
self
.
condition
FailedT
ext
())
self
.
error
(
self
.
condition
_failed_t
ext
())
topydo/lib/DoCommand.py
View file @
bf851310
...
...
@@ -43,7 +43,7 @@ class DoCommand(DCommand):
""" An additional condition whether execute_specific should be executed. """
return
not
self
.
todo
.
is_completed
()
def
condition
FailedT
ext
(
self
):
def
condition
_failed_t
ext
(
self
):
return
"Todo has already been completed."
def
execute_specific
(
self
):
...
...
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