Index: test/mm-list-modems |
diff --git a/test/mm-list-modems b/test/mm-list-modems |
index ae7baf219fb3b01815b0475f4b98e929f1499677..f5ad716fec20e7498414a80fc304bcb6f01161aa 100755 |
--- a/test/mm-list-modems |
+++ b/test/mm-list-modems |
@@ -1,11 +1,13 @@ |
#!/usr/bin/python |
+# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
import dbus |
import mm |
-manager = mm.ModemManager() |
- |
-devices = manager.manager.EnumerateDevices() |
+devices = mm.EnumerateDevices() |
-for path in devices: |
+for manager, path in devices: |
print path |