From 1b240e4f519d96a71e0ee5ec062b908d1ba64905 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 21 Mar 2019 09:18:39 +0100 Subject: [PATCH] Capitalize class name. --- examples/python/exec-dvfs/exec-dvfs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/python/exec-dvfs/exec-dvfs.py b/examples/python/exec-dvfs/exec-dvfs.py index 3d90f991a5..b04e0b9c27 100644 --- a/examples/python/exec-dvfs/exec-dvfs.py +++ b/examples/python/exec-dvfs/exec-dvfs.py @@ -7,7 +7,7 @@ import sys from simgrid import * -class dvfs: +class Dvfs: def __call__(self): workload = 100E6 host = this_actor.get_host() @@ -50,7 +50,7 @@ if __name__ == '__main__': raise AssertionError("Usage: exec-dvfs.py platform_file [other parameters] (got {:d} params)".format(len(sys.argv))) e.load_platform(sys.argv[1]) - Actor.create("dvfs_test", Host.by_name("MyHost1"), dvfs()) - Actor.create("dvfs_test", Host.by_name("MyHost2"), dvfs()) + Actor.create("dvfs_test", Host.by_name("MyHost1"), Dvfs()) + Actor.create("dvfs_test", Host.by_name("MyHost2"), Dvfs()) e.run() -- 2.20.1