~vcs-imports/gozerbot/main

« back to all changes in this revision

Viewing changes to gozerplugs/plugs/grep.py

  • Committer: bthate
  • Date: 2007-05-08 10:03:37 UTC
  • Revision ID: vcs-imports@canonical.com-20070508100337-5b70lqgnm0djjn17
sync with hg

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
            what = ievent.rest
64
64
        for i in result:
65
65
            if docasein:
66
 
                i = i.lower()
67
 
            if doinvert:
 
66
                if what in str(i.lower()):
 
67
                    res.append(i)
 
68
            elif doinvert:
68
69
                if what not in str(i):
69
70
                    res.append(i)
70
71
            else: