~ubuntu-branches/ubuntu/saucy/prewikka/saucy-proposed

« back to all changes in this revision

Viewing changes to prewikka/views/alertlisting.py

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-03-18 17:34:33 UTC
  • mto: This revision was merged to the branch mainline in revision 14.
  • Revision ID: james.westby@ubuntu.com-20100318173433-gr7bfoyws6m47ifv
Tags: upstream-1.0.0
ImportĀ upstreamĀ versionĀ 1.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
891
891
        return out, found
892
892
 
893
893
    def _adjustFilterValue(self, op, value):
 
894
        if op != "<>*" and op != "<>":
 
895
            return value
 
896
 
894
897
        value = value.strip()
895
898
 
896
 
        if op != "<>*" and op != "<>":
897
 
            return value
898
 
 
899
899
        value, has_wildcard = self._criteriaValueFind(value, ["*"])
900
900
        if has_wildcard:
901
901
            return value