On 05/31/2014 07:27 AM, Tor Krill wrote:
> Hi,
> 
> I'm currently experimenting with s3ql and a custom authentication. To do
> this i use the python requests module to do http requests. I know there
> most likely is a correct way to do this within s3ql but i haven't dug
> that deep into the code yet.

S3QL uses dugong instead of requests, see http://pythonhosted.org
/dugong/ for documentation.

> My problem is that when i import the requests module from my code it
> seems to clash with the local logging.py
> 
> A quick way to test this is just to fire up python3 in the src/s3ql
> folder and issue 
> 
> import requests

Don't do that. If you run python in src/s3ql, it cannot recognize that
the logging.py is actually part of the s3ql package.

If you want to be able to import the s3ql modules, run python in the
'src' folder (not 'src/s3ql').


Best,
-Nikolaus

-- 
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

             »Time flies like an arrow, fruit flies like a Banana.«

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to