diff options
author | jasplin <qt-info@nokia.com> | 2011-05-27 14:23:29 +0200 |
---|---|---|
committer | jasplin <qt-info@nokia.com> | 2011-05-27 14:23:29 +0200 |
commit | 62ff08bf1b9a609ac31a9d42f28ff6053a0bd40e (patch) | |
tree | eae37e3509d5c2277141549aea63296cd87103f0 | |
parent | 33ffb3d4fdcb4854949092a1e907f09ed33f32f2 (diff) |
Removed obsolete comments.
-rw-r--r-- | scripts/misc.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/misc.py b/scripts/misc.py index 8bd8516..56ee355 100644 --- a/scripts/misc.py +++ b/scripts/misc.py @@ -179,9 +179,7 @@ def getSnapshots(host_id, platform_id, branch_id, sha11_id, sha12_id): # Each distinct SHA-1 that occurs for this host/platform/branch # combination may occur multiple times with different upload times. # Get the list of distinct SHA-1 IDs along with the earliest upload - # time for each one (note: for simplicity, we assume that the - # order of the uploadId attributes is consistent with the order - # of their corresponding startTime attributes): + # time for each one: snapshots = execQuery( "SELECT sha1Id, EXTRACT(EPOCH FROM timestamp)::INT AS firstUploadTime" " FROM context" @@ -202,9 +200,7 @@ def getAllSnapshots(host_id, platform_id, branch_id, reverse = False): # Each distinct SHA-1 that occurs for this host/platform/branch # combination may occur multiple times with different upload times. # Get the list of distinct SHA-1 IDs along with the earliest upload - # time for each one (note: for simplicity, we assume that the - # order of the uploadId attributes is consistent with the order - # of their corresponding startTime attributes): + # time for each one: snapshots = execQuery( "SELECT sha1Id, EXTRACT(EPOCH FROM timestamp)::INT AS firstUploadTime" " FROM context" |