1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-02-23 14:41:43 +00:00

Fix Python3.2 compatibility

This commit is contained in:
Jonas Borgström 2014-04-13 20:34:32 +02:00
parent 0ad5253d84
commit 14808b77cb
3 changed files with 3 additions and 2 deletions

View file

@ -4,6 +4,7 @@ python:
- "3.3"
# command to install dependencies
install:
- "apt-get install -y libacl1-dev"
- "pip install --use-mirrors Cython"
- "pip install -e ."
# command to run tests

View file

@ -1,6 +1,6 @@
import os
platform = os.uname().sysname
platform = os.uname()[0]
if platform == 'Linux':
from attic.platform_linux import acl_get, acl_set, API_VERSION

View file

@ -9,7 +9,7 @@
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = 'Attic-' # dirname like 'myproject-1.2.0'
platform = os.uname().sysname
platform = os.uname()[0]
min_python = (3, 2)
if sys.version_info < min_python: