Logo Search packages:      
Sourcecode: zeitgeist-extensions version File versions  Download package

def fts::Indexer::_compile_time_range_filter_query (   self,
  time_range 
) [private]

Takes a TimeRange and compiles a range query for it

Definition at line 503 of file fts.py.

00503                                                              :
            """Takes a TimeRange and compiles a range query for it"""
            
            if not isinstance(time_range, TimeRange):
                  raise TypeError("Expected TimeRange, but found %s" % type(time_range))
            
            return "%s..%sms" % (time_range.begin, time_range.end)

if __name__ == "__main__":


Generated by  Doxygen 1.6.0   Back to index