aboutsummaryrefslogtreecommitdiff
path: root/sheriff_rotation.py
diff options
context:
space:
mode:
authorRahul Chaudhry <rahulchaudhry@chromium.org>2015-02-12 15:10:07 -0800
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-02-13 05:30:13 +0000
commit86cd5ab71d86a46853af6c25e5c98f8f15da6d5d (patch)
treeb92fee23c970cd8614f451ba718655c202d1fc8d /sheriff_rotation.py
parent1047b071bef1c2839d3a2858b1eb5b91f606eb84 (diff)
downloadtoolchain-utils-86cd5ab71d86a46853af6c25e5c98f8f15da6d5d.tar.gz
New location for sheriffs.txt file.
BUG=None TEST=None Change-Id: I28c768ac45ca480d09cc1a6fa1fb141eb37d3ac5 Reviewed-on: https://chrome-internal-review.googlesource.com/198645 Reviewed-by: Han Shen <shenhan@google.com> Commit-Queue: Rahul Chaudhry <rahulchaudhry@google.com> Tested-by: Rahul Chaudhry <rahulchaudhry@google.com>
Diffstat (limited to 'sheriff_rotation.py')
-rwxr-xr-xsheriff_rotation.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sheriff_rotation.py b/sheriff_rotation.py
index 05824b68..64c655f5 100755
--- a/sheriff_rotation.py
+++ b/sheriff_rotation.py
@@ -13,11 +13,12 @@ import datetime
import os
import optparse
import sys
+from utils import constants
from utils import email_sender
class SheriffHandler(object):
- SHERIFF_FILE = "/home/mobiletc-prebuild/sheriffs.txt"
+ SHERIFF_FILE = os.path.join(constants.CROSTC_WORKSPACE, "sheriffs.txt")
SUBJECT = "You (%s) are the sheriff for the week: %s - %s"
BODY = "Please see instructions here: https://sites.google.com/a/google.com/chromeos-toolchain-team-home2/home/sheriff-s-corner/sheriff-duties"