metrics: thankfully we lived past the days of assembly variable name limits.

Replaces commit 437f46a4cb156d44baf9f2c18a4d702240936836.
This commit is contained in:
Jimmy Berry 2018-06-20 15:23:26 -05:00
parent ed23a53196
commit bc03a99e46

View File

@ -549,9 +549,9 @@ def main(args):
Cache.PATTERNS['/source/[^/]+/dashboard/[^/]+\?rev=.*'] = sys.maxint
Cache.init()
c = Config(args.project)
config = Config(args.project)
api = StagingAPI(osc.conf.config['apiurl'], args.project)
c.apply_remote(api)
config.apply_remote(api)
print('dashboard: wrote {:,} points'.format(ingest_dashboard(api)))