Rfaulk has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/84295


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/95/84295/1

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: newchange
Gerrit-Change-Id: I60b3b54818bc883ed96304b4ec887ac3be942640
Gerrit-PatchSet: 1
Gerrit-Project: sartoris
Gerrit-Branch: master
Gerrit-Owner: Rfaulk <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to