annotate lib/patchablegraph/tasks.py @ 1504:d8eba5a51c1f

try a text/plain response if we think it's a browser asking for the graph Ignore-this: 3ab9e0c28cd46aff6d93e818a8a5fbbd darcs-hash:43107cfc2041fb2a1652265c072aa35c945e129f
author drewp <drewp@bigasterisk.com>
date Mon, 03 Feb 2020 00:50:53 -0800
parents 43791ec0beb2
children 94610b5263e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1317
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
1 from invoke import task
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
2
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
3 import sys
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
4 sys.path.append('/my/proj/release')
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
5 from release import local_release
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
6
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
7 @task
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
8 def release(ctx):
43791ec0beb2 make patchablegraph release
drewp <drewp@bigasterisk.com>
parents:
diff changeset
9 local_release(ctx)