1# Copyright (c) 2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 77 unchanged lines hidden (view full) --- 86 dot.write_ps("config.ps") 87 88need_resume = [] 89need_startup = True 90def simulate(*args, **kwargs): 91 global need_resume, need_startup 92 93 if need_startup: |
94 internal.core.startupAll() |
95 need_startup = False 96 97 for root in need_resume: 98 resume(root) 99 need_resume = [] 100 101 return internal.event.simulate(*args, **kwargs) 102 --- 91 unchanged lines hidden --- |