~gtg-user/gtg/documenters-credits

« back to all changes in this revision

Viewing changes to GTG/tools/tags.py

  • Committer: Izidor Matušov
  • Date: 2012-05-17 18:26:38 UTC
  • mfrom: (1175.1.14 fix-test-script)
  • Revision ID: izidor.matusov@gmail.com-20120517182638-i4jsjyo2bjhbe7ar
Merging huxan's fix so tests are working again and are mandatory to accept patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    """ Parse a line of a list of tasks. User can specify if the tag is
30
30
    positive or not by prepending '!'.
31
31
 
32
 
    @param  text - string entry from user
33
 
    @return list of tupples (tag, is_positive)
 
32
    @param  text:  string entry from user
 
33
    @return: list of tupples (tag, is_positive)
34
34
    """
35
35
    result = []
36
36
    for tag in text.split():