summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-29 13:38:39 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-03-29 13:38:39 +0200
commit4a4b2611e30f7d942757770f7a7067309d06e063 (patch)
tree49cc8467e85f9a8dcfb29cc44835bfb35ee30258 /bin
parent92ad3ee2c9696e62a8b1f25c51e8cce55edd7dcb (diff)
downloadjenkins.debian.net-4a4b2611e30f7d942757770f7a7067309d06e063.tar.xz
reproducible: db_maintenance: update comments, removing references to a dev version of the script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_db_maintenance.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 7c41d516..3545a238 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -360,10 +360,9 @@ def db_create_tables():
def db_update():
"""
Update the database schema.
- Get a list of queries to perform from schema_updates, and (if needed)
- some python code from the above run_update_code().
+ Get a list of queries to perform from schema_updates.
The need for an update is detected by checking the biggest value in the
- rb_schema table against the biggest value in the schema_updates dictionary
+ rb_schema table against the biggest value in the schema_updates dictionary.
"""
current = query_db('SELECT MAX(version) FROM rb_schema')[0][0]
if not current: