Skip to content

Commit

Permalink
Add fancy comment for metasmoke --autopull
Browse files Browse the repository at this point in the history
  • Loading branch information
Undo1 committed Nov 25, 2016
1 parent e6f29e2 commit e24b9d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def add_to_blacklist(self, **kwargs):
list_of_domains += "\n - {0} - [MS search](https://metasmoke.erwaysoftware.com/search?utf8=%E2%9C%93&body_is_regex=1&body={0})".format(items_to_blacklist[domain])

payload = {"title": "{0}: Blacklist {1}".format(username, ", ".join(items_to_blacklist)),
"body": "[{0}]({1}) requests blacklist of domains: \n{2}".format(username, chat_profile_link, list_of_domains),
"body": "[{0}]({1}) requests blacklist of domains: \n{2}\n<!-- METASMOKE-BLACKLIST {3} -->".format(username, chat_profile_link, list_of_domains, "|".join(items_to_blacklist)),
"head": branch,
"base": "master"}
response = requests.post("https://api.github.com/repos/Charcoal-SE/SmokeDetector/pulls", auth=HTTPBasicAuth(GlobalVars.github_username, GlobalVars.github_password), data=json.dumps(payload))
Expand Down

0 comments on commit e24b9d0

Please sign in to comment.