def disable_curdir_processing(method):
 def decorated(*args, **kwargs):
  original = populators.PROCESS_CURDIR
  populators.PROCESS_CURDIR = False
  try:
   return method(*args, **kwargs)
  finally:
   populators.PROCESS_CURDIR = original
 return decorated

def disable_curdir_processing ( method ) : def decorated ( * args , ** kwargs ) : original = populators . PROCESS_CURDIR populators . PROCESS_CURDIR = False try : return method ( * args , ** kwargs ) finally : populators . PROCESS_CURDIR = original return decorated
decorator to disable processing ${curdir} variable .