freshclam wrapper

Wrapper over freshclam program to update database over amqp.

antivirus.wrappers.freshclam.require_root(fn)[source]

Decorator to make sure, that user is root.

antivirus.wrappers.freshclam.update_database(*args, **kwargs)[source]

Run freshclam. Make sure, that user is root.