Index: test/mm-disable |
diff --git a/test/mm-disable b/test/mm-disable |
index 38fa01a208021d02d39b4bf11895610aa5450350..ade86c88446adacf687f8e6afee4f4f0947565e9 100755 |
--- a/test/mm-disable |
+++ b/test/mm-disable |
@@ -1,13 +1,15 @@ |
#!/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 |
modem = manager.Modem(path) |