environment/lib/python2.7/site-packages/gurumate-2.8.6-py2.7.egg/gurumate/linux2/files.py
def check_filemode(filepath, mode):
    """Return True if 'file' matches ('permission') which should be entered in octal.
    """

    filemode = stat.S_IMODE(os.stat(filepath).st_mode)
    return (oct(filemode) == mode)
def check_filemode(filepath, mode):
    """Return True if 'file' matches ('permission') which should be entered in octal.
    """

    filemode = stat.S_IMODE(os.stat(filepath).st_mode)
    return (oct(filemode) == mode)
Return True if 'file' matches ('permission') which should be entered in octal.