def METHOD_NAME(lm=None):
    if lm is None:
        lm = _lastmodified()
    import hashlib
    hash = hashlib.sha1()
    def hash_update(value):
        value = value.encode("utf-8")
        hash.update(value)
    hash_update(str(lm))
    hash_update(repr(printerProfileManager.get_default()))
    hash_update(repr(printerProfileManager.get_current()))
    return hash.hexdigest()