# this assumes that the virtual environment in called venv and directly one step up this directory
activate_this = os.path.join(os.path.dirname(os.path.abspath(__file__)), '../venv/bin/activate_this.py')
execfile(activate_this, dict(__file__=activate_this))


import os
import ckanserviceprovider.web as web
import datapusher.jobs as jobs

# check whether jobs have been imported properly
assert(jobs.push_to_datastore)

web.configure()
application = web.app

@@ -1,8 +1,88 @@
+import os%0Aimport ckanserviceprovider.web as web%0Aimport datapusher.jobs as jobs%0A%0A
 # this a
@@ -336,89 +336,8 @@
 ))%0A%0A
-%0Aimport os%0Aimport ckanserviceprovider.web as web%0Aimport datapusher.jobs as jobs%0A%0A
 # ch

fix imports