borg/attic/platform.py

16 lines
378 B
Python
Raw Normal View History

2014-04-13 18:26:46 +00:00
import os
2014-04-13 18:34:32 +00:00
platform = os.uname()[0]
2014-04-13 18:26:46 +00:00
if platform == 'Linux':
from attic.platform_linux import acl_get, acl_set, API_VERSION
elif platform == 'FreeBSD':
from attic.platform_freebsd import acl_get, acl_set, API_VERSION
2014-04-13 18:26:46 +00:00
else:
API_VERSION = 1
def acl_get(path, item, numeric_owner=False):
pass
def acl_set(path, item, numeric_owner=False):
pass