wimleers / fileconveyor

File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
https://wimleers.com/fileconveyor
The Unlicense
341 stars 95 forks source link

link_updater.py code fault with Python >=2.6 #38

Closed peterbowey closed 13 years ago

peterbowey commented 13 years ago

The /fileconveyor/code/processors file [link_updater.py] needs a change to work correctly with Python versions greater than 2.5+:

Line # 39 of link_updater.py needs to change from:

parser = CSSParser(log=None, loglevel=logging.critical)

to:

parser = CSSParser(log=None, loglevel=logging.CRITICAL)

I have tested this with and without the above change. It works fine with the correct setLevel syntax, but gives ERROR with out the change!