]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_popcon2stats
Added jessie and upcoming trusy into nd_popcon2stats
[neurodebian.git] / tools / nd_popcon2stats
index 35594018b98154f5040dfdbb96cdba6f1b88a6aa..5812849eea37924576afe177ae7396131ad9b8b4 100755 (executable)
@@ -7,7 +7,6 @@ import sys
 import time
 from datetime import datetime
 import re
-import sets
 import json
 import operator
 
@@ -16,7 +15,8 @@ releases = {
     'etch': 'Debian GNU/Linux 4.0 (etch)',
     'lenny': 'Debian GNU/Linux 5.0 (lenny)',
     'squeeze': 'Debian GNU/Linux 6.0 (squeeze)',
-    'wheezy': 'Debian testing (wheezy)',
+    'wheezy': 'Debian GNU/Linux 7.0 (wheezy)',
+    'jessie': 'Debian testing (jessie)',
     'sid': 'Debian unstable (sid)',
     'hardy': 'Ubuntu 08.04 LTS "Hardy Heron" (hardy)',
     'jaunty': 'Ubuntu 09.04 "Jaunty Jackalope" (jaunty)',
@@ -29,6 +29,7 @@ releases = {
     'quantal': 'Ubuntu 12.10 "Quantal Quetzal" (quantal)',
     'raring': 'Ubuntu 13.04 "Raring Ringtail" (raring)',
     'saucy': 'Ubuntu 13.10 "Saucy Salamander" (saucy)',
+    'trusty': 'Ubuntu 14.04 LTS "Trusty Tahr" (trusty)',
 }
 
 def error(msg):
@@ -71,7 +72,7 @@ if __name__ == '__main__':
     data = {}
 
     popcon_versions = {}
-    timestamps = sets.Set()
+    timestamps = set()
 
     for f in sys.argv[1:]:
         file_reg = file_regex.match(f)