]> git.donarmstrong.com Git - neurodebian.git/blobdiff - tools/nd_apachelogs2subscriptionstats
BF: set class has no union_update, just update
[neurodebian.git] / tools / nd_apachelogs2subscriptionstats
index 3b567476f438e9923a23d97e88556edf463e56d5..4155089fde14d2ee63618f9f55be9364bb800f8b 100755 (executable)
@@ -62,7 +62,7 @@ if __name__ == '__main__':
     # determine the union of all timestamps
     timestamps = set()
     for codename, stats in data.iteritems():
-        timestamps.union_update(stats.keys())
+        timestamps.update(stats.keys())
     export = [{'key': release,
                'values': [[ts, float(data[release].setdefault(ts, 0)) / 7]
                         for ts in sorted(timestamps)]}