danilop / yas3fs

YAS3FS (Yet Another S3-backed File System) is a Filesystem in Userspace (FUSE) interface to Amazon S3. It was inspired by s3fs but rewritten from scratch to implement a distributed cache synchronized by Amazon SNS notifications. A web console is provided to easily monitor the nodes of a cluster.
http://danilop.github.io/yas3fs
MIT License
643 stars 98 forks source link

import M2Crypto inside SNS request handler (fix issue #28) #131

Closed odednoam closed 8 years ago

odednoam commented 8 years ago

This fixes issue #28 - "NameError: global name 'M2Crypto' is not defined" when trying to run with SNS HTTP notifications (linux). Change is pretty simple, python doesn't load module more than once even if imported multiple times.