Rfaulk has submitted this change and it was merged.
Change subject: rm - _get_current_lock_user, obsolete.
......................................................................
rm - _get_current_lock_user, obsolete.
Change-Id: I60b3b54818bc883ed96304b4ec887ac3be942640
---
M sartoris/sartoris.py
1 file changed, 0 insertions(+), 16 deletions(-)
Approvals:
Rfaulk: Verified; Looks good to me, approved
jenkins-bot: Verified
diff --git a/sartoris/sartoris.py b/sartoris/sartoris.py
index bf29449..db7eed8 100755
--- a/sartoris/sartoris.py
+++ b/sartoris/sartoris.py
@@ -94,22 +94,6 @@
def _configure(self):
self.config = configure()
- def _get_current_lock_user(self):
- """
- Pulls the expected lock user from lock file
- """
- cmd = "ssh {0}@{1} cat {2}/{3}/{4}".format(
- self.config['user'],
- self.config['target'],
- self.config['path'],
- self.DEPLOY_DIR,
- self.LOCK_FILE_HANDLE)
-
- proc = subprocess.Popen(cmd.split(),
- stdout=subprocess.PIPE,
- stderr=subprocess.PIPE)
- return proc.communicate()[0].strip('\n')
-
def _check_lock(self):
""" Returns boolean flag on lock file existence """
cmd = "ssh {0}@{1} ls {2}/{3}/{4}".format(
--
To view, visit https://gerrit.wikimedia.org/r/84295
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I60b3b54818bc883ed96304b4ec887ac3be942640
Gerrit-PatchSet: 2
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>
Gerrit-Reviewer: Rfaulk <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits