Skip to content

Commit

Permalink
cleanup whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Malini Das committed Sep 6, 2012
1 parent b6f9b89 commit 2537328
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions bin/update-dashboard.py
Expand Up @@ -245,7 +245,7 @@ def main(args=sys.argv[1:]):
devicefile = os.path.join(outputdir, 'devices.json')
if os.path.isfile(devicefile):
devices = json.loads(open(devicefile).read())['devices']

if device_id == 'Panda' and (options.product and options.product == 'b2g'):
b2g_manager = B2GManager(device)
appinfo = b2g_manager.get_appinfo()
Expand All @@ -266,7 +266,7 @@ def main(args=sys.argv[1:]):
def call_runtest():
runtest(device, product, current_date, appinfo, test,
capture_name + " #%s" % i, outputdir, datafile, data,
gesture_file=options.gesture_file,
gesture_file=options.gesture_file,
enable_profiling=options.enable_profiling)

else:
Expand All @@ -279,24 +279,24 @@ def call_runtest():
appinfo = { }
appname = product['appname']
capture_name = "%s (taken on %s)" % (product['name'], current_date)

if appinfo.get('appname'):
appname = appinfo['appname']
else:
appname = product['appname']

def call_runtest():
# Kill any existing instances of the processes
device.killProcess(appname)

# Now run the test
runtest(device, product, current_date, appinfo, test,
capture_name + " #%s" % i, outputdir, datafile, data,
capture_name + " #%s" % i, outputdir, datafile, data,
appname=appname, enable_profiling=options.enable_profiling)

# Kill app after test complete
device.killProcess(appname)

# Run the test the specified number of times
for i in range(num_runs):
# Now run the test
Expand Down
2 changes: 1 addition & 1 deletion src/eideticker/eideticker/runner.py
Expand Up @@ -27,7 +27,7 @@ def __init__(self, dm, url, tmpdir, mode=None, marionette_host=None, marionette_

def start(self):
prefs = """
user_pref("power.screen.timeout", 999999);
user_pref("power.screen.timeout", 999999);
"""
print "forward port"
self.bm.forward_port()
Expand Down

0 comments on commit 2537328

Please sign in to comment.