Revision 6e147ecc snf-pithos-app/pithos/api/functions.py
b/snf-pithos-app/pithos/api/functions.py | ||
---|---|---|
41 | 41 |
from django.utils.encoding import smart_str |
42 | 42 |
from django.views.decorators.csrf import csrf_exempt |
43 | 43 |
|
44 |
from pithos.lib.user import get_user |
|
45 |
from pithos.lib.filter import parse_filters |
|
44 |
from synnefo.lib.astakos import get_user |
|
46 | 45 |
|
47 | 46 |
from pithos.api.faults import (Fault, NotModified, BadRequest, Unauthorized, Forbidden, ItemNotFound, Conflict, |
48 | 47 |
LengthRequired, PreconditionFailed, RequestEntityTooLarge, RangeNotSatisfiable, UnprocessableEntity) |
... | ... | |
52 | 51 |
validate_modification_preconditions, validate_matching_preconditions, split_container_object_string, |
53 | 52 |
copy_or_move_object, get_int_parameter, get_content_length, get_content_range, socket_read_iterator, |
54 | 53 |
SaveToBackendHandler, object_data_response, put_object_block, hashmap_md5, simple_list_response, api_method) |
55 |
from pithos.backends.base import NotAllowedError, QuotaError |
|
56 | 54 |
from pithos.api.settings import AUTHENTICATION_URL, AUTHENTICATION_USERS |
57 | 55 |
|
56 |
from pithos.backends.base import NotAllowedError, QuotaError |
|
57 |
from pithos.backends.filter import parse_filters |
|
58 |
|
|
58 | 59 |
import logging |
59 | 60 |
import hashlib |
60 | 61 |
|
Also available in: Unified diff