Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
notify_*: Python 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed May 3, 2015
1 parent 0e850b6 commit fc8735e
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
8 changes: 4 additions & 4 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"version": 4
},
"notify_hipchat": {
"checksum": "e9f9447c53d6585c6d3a12df845e541d5b8b3021",
"checksum": "fbb246a863fc911532815f199cd080581881f306",
"desc": "Automatically send notifications to HipChat rooms with bw apply",
"version": 8
"version": 9
},
"notify_slack": {
"checksum": "269f1321daac1919a9ea8890e62714f5dfd7c33a",
"checksum": "bdf6da504d1d688bb1d9eb0de34b85afbc504a12",
"desc": "Automatically send notifications to Slack rooms with bw apply",
"version": 1
"version": 2
},
"pwget": {
"checksum": "03983b012a5c3e68cb844b1a7d1bb422cdf789b0",
Expand Down
5 changes: 4 additions & 1 deletion notify_hipchat/hooks/notify_hipchat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from ConfigParser import SafeConfigParser
try:
from configparser import SafeConfigParser
except ImportError:
from ConfigParser import SafeConfigParser
from json import dumps
from os.path import exists, join

Expand Down
2 changes: 1 addition & 1 deletion notify_hipchat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"provides": [
"hooks/notify_hipchat.py"
],
"version": 8
"version": 9
}
5 changes: 4 additions & 1 deletion notify_slack/hooks/notify_slack.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from ConfigParser import SafeConfigParser
try:
from configparser import SafeConfigParser
except ImportError:
from ConfigParser import SafeConfigParser
from json import dumps
from os.path import exists, join

Expand Down
2 changes: 1 addition & 1 deletion notify_slack/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"provides": [
"hooks/notify_slack.py"
],
"version": 1
"version": 2
}

0 comments on commit fc8735e

Please sign in to comment.