Hi Nikolaus, Den lördagen den 31:e maj 2014 kl. 20:38:51 UTC+2 skrev Nikolaus Rath: > > 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. >
Ah, saw that now. You recently changed :) Thanks for the info. I think i will try to use that instead then to not impose further dependencies. > > 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'). > This was only meant as a way to narrow down our problem. We started with our "own" backend but as soon as we imported requests all hell broke lose :) Thanks for the quick answer and best regards! /Tor -- 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.
