Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 870414 - setup scheduler manifests in puppetAgain. r=catlee

  • Loading branch information...
commit cd4cb0b317125aea4ab51d25b16db040c31819ff 1 parent 27fdae6
@rail rail 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.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.