Commits

Lynn Rees committed 46b2c70

- doc tweak

Comments (0)

Files changed (6)

knife/__init__.py

 
 __all__ = ('knife', 'activeknife', 'lazyknife', '__')
 
-__version__ = (0, 5, 9)
+__version__ = (0, 5, 10)
 from contextlib import contextmanager
 
 from stuf.deep import clsname
-from stuf.utils import loads, optimize, memoize
-
-moptimize = memoize(optimize)
+from stuf.utils import loads, optimize, moptimize
 
 
 class _ActiveMixin(local):
     @memoize
     def _pattern(pat, type, flags, s=searcher):
         # compile glob pattern into regex
-        return s((type, pat))
+        return s((type, pat), flags)
 
     _REPR = '{0}.{1} ([IN: ({2}) => WORK: ({3}) => HOLD: ({4}) => OUT: ({5})])'
 
 # -*- coding: utf-8 -*-
-'''base knife keys'''
+'''base knife keys.'''
 
 from appspace.keys import AppspaceKey
 

knife/_kmixins.py

 # -*- coding: utf-8 -*-
-'''knife mixin keys'''
+'''knife mixin keys.'''
 
 from appspace.keys import AppspaceKey
 

reqs/requires.txt

-stuf>=0.9.0
+stuf>=0.9.1