Fix version output when missing.
[plcapi.git] / php / methods.py
index b41b1ba..621cc91 100755 (executable)
@@ -5,7 +5,8 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # Copyright (C) 2005 The Trustess of Princeton University
 #
-# $Id: methods.py,v 1.4 2006/11/29 19:43:17 mlhuang Exp $
+# $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