Yuvipanda has uploaded a new change for review. https://gerrit.wikimedia.org/r/77556
Change subject: Fix symlink resolution bugs with finding BASE_PATH ...................................................................... Fix symlink resolution bugs with finding BASE_PATH We first need to resolve the location of the file, and then find the directory it is in. This will work all the time. Change-Id: Ia437364d23aacca49d8678a5c64ff0ec86721954 --- M src/github-receiver.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/gerrit-to-redis refs/changes/56/77556/1 diff --git a/src/github-receiver.py b/src/github-receiver.py index d144003..2905c8d 100755 --- a/src/github-receiver.py +++ b/src/github-receiver.py @@ -8,7 +8,7 @@ import yaml -BASE_PATH = os.path.realpath(os.path.join(os.path.dirname(__file__), '..')) +BASE_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), '..') PUBLISH_LUA_PATH = os.path.join(BASE_PATH, 'src/publish-clients.lua') CONFIG_FILE = os.path.join(BASE_PATH, 'config.yaml') -- To view, visit https://gerrit.wikimedia.org/r/77556 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ia437364d23aacca49d8678a5c64ff0ec86721954 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/gerrit-to-redis Gerrit-Branch: master Gerrit-Owner: Yuvipanda <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
