changeset 1020:fd85155f27ab

Updated to match new API.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 13 Nov 2008 17:43:42 +0100
parents d839791e2487
children b0f0b8e8eff1
files apps/divide.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/apps/divide.py	Thu Nov 13 17:42:04 2008 +0100
+++ b/apps/divide.py	Thu Nov 13 17:43:42 2008 +0100
@@ -35,7 +35,7 @@
 from twisted.internet import reactor
 
 from viff.field import GF
-from viff.runtime import Runtime, create_runtime
+from viff.runtime import BasicRuntime, create_runtime
 from viff.runtime import make_runtime_class
 from viff.comparison import ComparisonToft07Mixin
 from viff.config import load_config
@@ -83,7 +83,7 @@
 
     parser.set_defaults(modulus=2**65, number=None)
 
-    Runtime.add_options(parser)
+    BasicRuntime.add_options(parser)
 
     options, args = parser.parse_args()
     if len(args)==2: