Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: sitescripts/extensions/utils.py

Issue 29361779: Issue 4608 - Add local=True To Revision Property (Closed)
Patch Set: move to local properties Created Nov. 7, 2016, 1:42 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sitescripts/extensions/utils.py
===================================================================
--- a/sitescripts/extensions/utils.py
+++ b/sitescripts/extensions/utils.py
@@ -128,17 +128,16 @@
"""
return property(lambda self: self.nightlyConfig.get(self.repositoryName, key),
lambda self, value: self.nightlyConfig.set(self.repositoryName, key, value))
config = None
nightlyConfig = None
repositoryName = None
repository = None
- revision = _defineProperty('revision', default='master')
spiderMonkeyBinary = _defineProperty('spiderMonkeyBinary', default='')
nightliesDirectory = _defineProperty('nightliesDirectory')
nightliesURL = _defineProperty('nightliesURL')
downloadsRepo = _defineProperty('downloadsRepo')
downloadsURL = _defineProperty('downloadsURL')
docsDirectory = _defineProperty('docsDirectory')
signtool = _defineProperty('signtool')
@@ -149,16 +148,17 @@
keyFile = _defineProperty('key', local=True, default='')
name = _defineProperty('name', local=True)
galleryID = _defineProperty('galleryID', local=True, default='')
devbuildGalleryID = _defineProperty('devbuildGalleryID', local=True, default='')
downloadPage = _defineProperty('downloadPage', local=True, default='')
clientID = _defineProperty('clientID', local=True, default='')
clientSecret = _defineProperty('clientSecret', local=True, default='')
refreshToken = _defineProperty('refreshToken', local=True, default='')
+ revision = _defineProperty('revision', local=True, default='master')
latestRevision = _defineNightlyProperty('latestRevision')
def __init__(self, config, nightlyConfig, repositoryName, repository):
"""
Creates a new Configuration instance that is bound to a particular
repository.
"""
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld