Yuvipanda has submitted this change and it was merged.
Change subject: labstore: Follow up to I82ac5bf45cd3c2e10df25f825bf423cb2f7d1de0
......................................................................
labstore: Follow up to I82ac5bf45cd3c2e10df25f825bf423cb2f7d1de0
Change-Id: I93872dc285582afedd56bafd8855c3e263bf596f
---
M modules/labstore/files/storage-replicate
1 file changed, 1 insertion(+), 6 deletions(-)
Approvals:
Yuvipanda: Verified; Looks good to me, approved
diff --git a/modules/labstore/files/storage-replicate
b/modules/labstore/files/storage-replicate
index 68b0a88..3996ef1 100755
--- a/modules/labstore/files/storage-replicate
+++ b/modules/labstore/files/storage-replicate
@@ -79,12 +79,7 @@
def read(self, path):
if self.host:
- (out, err) = self.run('/bin/cat', path)
- if err and err != "":
- raise Context.ContextError(self, err)
-
- return out.splitlines()
-
+ return self.run('/bin/cat', path).splitlines()
else:
with open(path, 'r') as fd:
return fd.readlines()
--
To view, visit https://gerrit.wikimedia.org/r/227387
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I93872dc285582afedd56bafd8855c3e263bf596f
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Yuvipanda <[email protected]>
Gerrit-Reviewer: Yuvipanda <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits