Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

merge

  • Loading branch information...
commit fb197d3e39aa5edd16c537eaa936e5eaeac895ba 2 parents f07d9b7 + cd4cb0b
@djmitche djmitche authored
View
1  MANIFEST.in
@@ -1,3 +1,4 @@
include buildapi/config/deployment.ini_tmpl
recursive-include buildapi/public *
recursive-include buildapi/templates *
+recursive-include buildapi/scripts *
View
0  buildapi/scripts/__init__.py
No changes.
View
6 buildapi/scripts/selfserve-agent.py
@@ -577,7 +577,8 @@ def do_cancel_revision(self, message_data, message):
msgs.append(result['msg'])
return {"errors": errors, "msg": "\n".join(msgs)}
-if __name__ == '__main__':
+
+def main():
import os
from optparse import OptionParser
from ConfigParser import RawConfigParser
@@ -646,3 +647,6 @@ def do_cancel_revision(self, message_data, message):
message = consumer.fetch(enable_callbacks=True)
if not message:
break
+
+if __name__ == '__main__':
+ main()
View
1  buildapi/scripts/selfserve_agent.py
View
3  setup.cfg
@@ -2,6 +2,9 @@
tag_build = dev
tag_svn_revision = true
+[aliases]
+release = egg_info -RDb ''
+
[easy_install]
find_links = http://www.pylonshq.com/download/
View
3  setup.py
@@ -37,5 +37,8 @@
[paste.app_install]
main = pylons.util:PylonsInstaller
+
+ [console_scripts]
+ selfserve-agent = buildapi.scripts.selfserve_agent:main
""",
)
Please sign in to comment.
Something went wrong with that request. Please try again.