jenkins-bot has submitted this change and it was merged.
Change subject: Use os.path.join instead of string concat
......................................................................
Use os.path.join instead of string concat
Change-Id: I242996204e14cfc4e8f2ba1ea4648212126532c6
---
M jouncebot.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
Mwalker: Looks good to me, approved
jenkins-bot: Verified
diff --git a/jouncebot.py b/jouncebot.py
index 7eae11e..7e506ac 100755
--- a/jouncebot.py
+++ b/jouncebot.py
@@ -172,7 +172,8 @@
(options, args) = parser.parse_args()
# Attempt to load the configuration
- configloader.import_file(os.path.dirname(__file__) + '/DefaultConfig.yaml')
+ config_path = os.path.join(os.path.dirname(__file__), 'DefaultConfig.yaml')
+ configloader.import_file(config_path)
if options.configFile is not None:
configloader.import_file(options.configFile)
--
To view, visit https://gerrit.wikimedia.org/r/150063
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I242996204e14cfc4e8f2ba1ea4648212126532c6
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/bots/jouncebot
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Mwalker <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits