Fix version output when missing.
[plcapi.git] / php / methods.py
index ca34773..621cc91 100755 (executable)
@@ -6,6 +6,7 @@
 # Copyright (C) 2005 The Trustess of Princeton University
 #
 # $Id$
+# $URL$
 #
 
 import os, sys
@@ -43,8 +44,8 @@ def php_cast(value):
 # Class functions
 api = PLCAPI(None)
 
-api.methods.sort()
-for method in api.methods:
+api.all_methods.sort()
+for method in api.all_methods:
     # Skip system. methods
     if "system." in method:
         continue