summaryrefslogtreecommitdiff
path: root/xattr/lib.py
diff options
context:
space:
mode:
authornyov <nyov@nexnode.net>2018-07-04 16:45:21 +0000
committernyov <nyov@nexnode.net>2018-07-04 16:45:21 +0000
commit61b5c3aeab7611f9e6dca719dbac08d4545b8f85 (patch)
tree050772f09bf1313d362779ae1d92127e2c0d82fe /xattr/lib.py
parentd713b973cbf27259d8d1dee9ffd1dcda5937565e (diff)
downloadxattr-61b5c3aeab7611f9e6dca719dbac08d4545b8f85.tar.gz
Extracted inline C code for syntax highlighting
Diffstat (limited to 'xattr/lib.py')
-rw-r--r--xattr/lib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xattr/lib.py b/xattr/lib.py
index b6245c1..fecc3bd 100644
--- a/xattr/lib.py
+++ b/xattr/lib.py
@@ -6,8 +6,8 @@ from .compat import fs_encode
try:
from ._lib import lib, ffi
except ImportError:
- from .lib_build import ffi, C_SRC
- lib = ffi.verify(C_SRC)
+ from .lib_build import ffi, c_source
+ lib = ffi.verify(c_source)
XATTR_NOFOLLOW = lib.XATTR_XATTR_NOFOLLOW
XATTR_CREATE = lib.XATTR_XATTR_CREATE