Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/f/l/Flask-MakeStatic-0.3.0/flask_makestatic/__init__.py   Flask-MakeStatic(Download)
 
from flask import current_app, _app_ctx_stack
from flask.ext.makestatic.watcher import ThreadedWatcher
 
 
            # return and do nothing.
            return
        watcher = ThreadedWatcher()
        @watcher.file_added.connect
        @new_app_context(self._get_app())

src/f/l/Flask-MakeStatic-0.3.0/test_makestatic.py   Flask-MakeStatic(Download)
from flask.ext.makestatic import MakeStatic, RuleMissing
from flask.ext.makestatic._compat import StringIO
from flask.ext.makestatic.watcher import ThreadedWatcher
 
 
    def test(self):
        watcher = ThreadedWatcher()
        self.added_files = []
        self.modified_files = []
        self.removed_files = []