Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(580)

Side by Side Diff: chrome/test/pyautolib/chromeos_network.py

Issue 8680018: Fix python scripts in src/chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/pyautolib/chromeos/suid_actions.py ('k') | chrome/test/pyautolib/chromoting.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python
2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 3 # found in the LICENSE file.
6 4
7 import copy 5 import copy
8 import dbus 6 import dbus
9 import logging 7 import logging
10 import os 8 import os
11 import time 9 import time
12 10
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 else: 341 else:
344 service_path = self.GetServicePath(router['ssid']) 342 service_path = self.GetServicePath(router['ssid'])
345 assert service_path, 'Service with SSID %s is not present.' % \ 343 assert service_path, 'Service with SSID %s is not present.' % \
346 router['ssid'] 344 router['ssid']
347 345
348 logging.debug('Connecting to router %s.' % router_name) 346 logging.debug('Connecting to router %s.' % router_name)
349 error_string = self.ConnectToWifiNetwork(service_path, 347 error_string = self.ConnectToWifiNetwork(service_path,
350 password=passphrase, 348 password=passphrase,
351 shared=shared) 349 shared=shared)
352 return error_string 350 return error_string
OLDNEW
« no previous file with comments | « chrome/test/pyautolib/chromeos/suid_actions.py ('k') | chrome/test/pyautolib/chromoting.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698