Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2011 The Chromium OS Authors. All rights reserved. | |
| 4 # Use of this source code is governed by a BSD-style license that can be | |
| 5 # found in the LICENSE file. | |
| 6 | |
| 3 import dbus | 7 import dbus |
| 4 import mm | 8 import mm |
| 5 | 9 |
| 6 manager = mm.ModemManager() | 10 devices = mm.EnumerateDevices() |
| 7 | 11 |
| 8 devices = manager.manager.EnumerateDevices() | 12 for manager, path in devices: |
| 9 | |
| 10 for path in devices: | |
| 11 print path | 13 print path |
| OLD | NEW |