#!/usr/bin/env python

import sys

props = {}
for line in open('android/properties/private-%s.properties' % sys.argv[-1]):
    if len(line.strip()) == 0:
        continue
    if line[0] == '#':
        continue
    k, v = line.strip().split('=')
    props[k] = v
assert 'MapAPIKey' in props, 'MapAPIKey is ok'
assert 'MozAPIKey' in props, 'MozAPIKey is ok'
assert 'ACRA_URI' in props, 'ACRA_URI is ok'
assert 'ACRA_USER' in props, 'ACRA_USER is ok'
assert 'ACRA_PASS' in props, 'ACRA_PASS is ok'

@@ -354,143 +354,4 @@
 ok'%0A
-assert 'ACRA_URI' in props, 'ACRA_URI is ok'%0Aassert 'ACRA_USER' in props, 'ACRA_USER is ok'%0Aassert 'ACRA_PASS' in props, 'ACRA_PASS is ok'%0A

patch the release_check.py as we don't keep ACRA information in the private properties anymore