move sfa package import inside of __init__()
[plcapi.git] / PLC / Shell.py
index f2aa211..9069a09 100644 (file)
@@ -5,7 +5,8 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustees of Princeton University
 #
-# $Id: Shell.py,v 1.4 2007/02/02 04:38:28 mlhuang Exp $
+# $Id$
+# $URL$
 #
 
 import os
@@ -165,7 +166,7 @@ class Shell:
             if role is not None:
                 self.auth['Role'] = role
 
-        for method in PLC.Methods.methods:
+        for method in PLC.API.PLCAPI.all_methods:
             api_function = self.api.callable(method)
 
             if self.server is None: