platform.py 378 B

123456789101112131415
  1. import os
  2. platform = os.uname()[0]
  3. if platform == 'Linux':
  4. from attic.platform_linux import acl_get, acl_set, API_VERSION
  5. elif platform == 'FreeBSD':
  6. from attic.platform_freebsd import acl_get, acl_set, API_VERSION
  7. else:
  8. API_VERSION = 1
  9. def acl_get(path, item, numeric_owner=False):
  10. pass
  11. def acl_set(path, item, numeric_owner=False):
  12. pass