Fix version output when missing.
[plcapi.git] / PLC / Shell.py
index 3ed0a75..9069a09 100644 (file)
@@ -6,6 +6,7 @@
 # Copyright (C) 2005 The Trustees of Princeton University
 #
 # $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 + PLC.API.PLCAPI.legacy_map.keys():
+        for method in PLC.API.PLCAPI.all_methods:
             api_function = self.api.callable(method)
 
             if self.server is None: