diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-07-18 15:56:50 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-07-18 15:56:50 -0700 |
commit | 709fb668dc641464a55a82216f36e677e7f17c79 (patch) | |
tree | 9c6f41575cd6fab2a9c945d5b29bb385b4362a48 /xattr | |
parent | a779afd2e8847c57fb4b4fe9d768d613ab79528e (diff) | |
download | xattr-709fb668dc641464a55a82216f36e677e7f17c79.tar.gz |
remove constants file
Diffstat (limited to 'xattr')
-rw-r--r-- | xattr/constants.py | 16 | ||||
-rw-r--r-- | xattr/tests/__init__.py | 6 |
2 files changed, 3 insertions, 19 deletions
diff --git a/xattr/constants.py b/xattr/constants.py deleted file mode 100644 index 8ee1c3b..0000000 --- a/xattr/constants.py +++ /dev/null @@ -1,16 +0,0 @@ - -# Options for pathname based xattr calls -XATTR_NOFOLLOW = 0x0001 # Don't follow symbolic links - -# Options for setxattr calls -XATTR_CREATE = 0x0002 # set the value, fail if attr already exists -XATTR_REPLACE = 0x0004 # set the value, fail if attr does not exist - -# Set this to bypass authorization checking (eg. if doing auth-related work) -XATTR_NOSECURITY = 0x0008 - -XATTR_MAXNAMELEN = 127 - -XATTR_FINDERINFO_NAME = "com.apple.FinderInfo" - -XATTR_RESOURCEFORK_NAME = "com.apple.ResourceFork" diff --git a/xattr/tests/__init__.py b/xattr/tests/__init__.py index 2391ae6..739dd58 100644 --- a/xattr/tests/__init__.py +++ b/xattr/tests/__init__.py @@ -1,3 +1,5 @@ +import os +import sys import unittest @@ -15,7 +17,5 @@ def main(): if __name__ == '__main__': - import os - import sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) - main()
\ No newline at end of file + main() |