Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/e/seal-0.4.0-rc2/seal/lib/deprecation_utils.py   seal(Download)
# a couple of utility functions to deal with deprecated properties
from seal.lib.mr.jc_wrapper import jc_wrapper
# Warn the user that he's using a deprecated property.
def convert_job_conf(jobconf, deprecation_map, logger):
    wrapper = jc_wrapper(jobconf)
    for new, old in deprecation_map.iteritems():
        check_deprecated_prop(wrapper, logger, old, new)