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
f9f4449f
Commit
f9f4449f
authored
Nov 26, 2016
by
Bram Schoenmakers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dummy code
parent
05cdba77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
topydo/lib/Sorter.py
topydo/lib/Sorter.py
+0
-16
No files found.
topydo/lib/Sorter.py
View file @
f9f4449f
...
@@ -245,19 +245,3 @@ class Sorter(object):
...
@@ -245,19 +245,3 @@ class Sorter(object):
return result
return result
if __name__ == '
__main__
':
from topydo.lib.Todo import Todo
todos = [
Todo('
Foo
+
A
@
A
type
:
a
'),
Todo('
Foo
+
A
@
B
type
:
b'),
Todo('
Bar
+
B
@
B
type
:
b'),
Todo('
Baz
+
A
+
B
@
B'),
]
s = Sorter('
desc
:
context
', '
project
,
type
')
for key, group in s.group(todos).items():
print(key)
for item2 in group:
print(item2.source())
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