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
b688f744
Commit
b688f744
authored
Jun 14, 2014
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add another convenience method to easily compare lists.
parent
bae4fa88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
test/TestFacilities.py
test/TestFacilities.py
+3
-0
No files found.
test/TestFacilities.py
View file @
b688f744
...
...
@@ -8,3 +8,6 @@ def load_file(p_filename):
todofile
=
TodoFile
.
TodoFile
(
p_filename
)
return
[
Todo
.
Todo
(
src
)
for
src
in
todofile
.
read
()]
def
todolist_to_string
(
p_list
):
""" Converts a todo list to a single string. """
return
'
\
n
'
.
join
([
str
(
t
)
for
t
in
p_list
])
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