In case the API isn't installed, skip docbook stuffs.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 14 Nov 2007 03:08:20 +0000 (03:08 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Wed, 14 Nov 2007 03:08:20 +0000 (03:08 +0000)
api_calls.py

index 5804258..fa13792 100644 (file)
@@ -21,7 +21,9 @@ import xmlrpclib
 try:
        from PLC.Parameter import Parameter, Mixed
 except:
-       pass
+    def Parameter(a = None, b = None): pass
+    def Mixed(a = None, b = None, c = None): pass
+
 
 import accounts
 import logger