Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(491)

Unified Diff: scripts/common/chromium_utils.py

Issue 2093583002: Remove the require_dbconfig arg. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@changeHorizon
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
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: scripts/common/chromium_utils.py
diff --git a/scripts/common/chromium_utils.py b/scripts/common/chromium_utils.py
index b4d30834c6b8853aa6b26d078d71ea4f39e540dd..7cf9e865b44fd56057e9a1801b867e72cdaf23df 100644
--- a/scripts/common/chromium_utils.py
+++ b/scripts/common/chromium_utils.py
@@ -1898,7 +1898,7 @@ def FileExclusions():
return all_platforms
-def DatabaseSetup(buildmaster_config, require_dbconfig=False):
+def DatabaseSetup(buildmaster_config):
"""Configure the database settings for the buildbot master."""
# By default nothing is ever deleted from the database. We set a
@@ -1916,8 +1916,6 @@ def DatabaseSetup(buildmaster_config, require_dbconfig=False):
buildmaster_config['db_url'] = 'postgresql://%s:%s@%s/%s' % (
values['username'], values['password'],
values.get('hostname', 'localhost'), values['dbname'])
- else:
- assert not require_dbconfig
def ReadBuildersFile(builders_path):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698