Rfaulk has uploaded a new change for review.

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


Change subject: rm - .deploy file logic - not needed.
......................................................................

rm - .deploy file logic - not needed.

Change-Id: I0a755842e733170f898825869173a78ca99f863d
---
M sartoris/sartoris.py
1 file changed, 1 insertion(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/sartoris refs/changes/58/86358/1

diff --git a/sartoris/sartoris.py b/sartoris/sartoris.py
index 4626cd1..4858aa4 100755
--- a/sartoris/sartoris.py
+++ b/sartoris/sartoris.py
@@ -277,7 +277,7 @@
             log.error("{0} :: {1}".format(__name__, exit_codes[exit_code]))
             return exit_code
 
-        return self._sync(args.force)
+        return self._sync(tag, args.force)
 
     def _sync(self, tag, force):
 
@@ -431,17 +431,6 @@
         else:
             # revert to last tag
             pass
-
-#        # Write .deploy file
-#        try:
-#            deploy_file = open(self.config['deploy_file'], 'w')
-#            deploy_file.write(json.dumps({'repo': repo_name,
-#                                          'tag': self._tag}))
-#            deploy_file.close()
-#        except OSError:
-#            exit_code = 32
-#            log.error("{0} :: {1}".format(__name__, exit_codes[exit_code]))
-#            return exit_code
 
         self._sync(tag, args.force)
 

-- 
To view, visit https://gerrit.wikimedia.org/r/86358
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0a755842e733170f898825869173a78ca99f863d
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