main.py (4078:3f73f808bbd4) | main.py (4087:ad2f343e3d45) |
---|---|
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 --- 283 unchanged lines hidden (view full) --- 292 for flag in off_flags: 293 internal.trace.clear(flag) 294 295 if options.trace_start: 296 def enable_trace(): 297 internal.trace.cvar.enabled = True 298 internal.event.create(enable_trace, int(options.trace_start)) 299 else: | 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 --- 283 unchanged lines hidden (view full) --- 292 for flag in off_flags: 293 internal.trace.clear(flag) 294 295 if options.trace_start: 296 def enable_trace(): 297 internal.trace.cvar.enabled = True 298 internal.event.create(enable_trace, int(options.trace_start)) 299 else: |
300 internal.trace.enabled = True | 300 internal.trace.cvar.enabled = True |
301 302 internal.trace.output(options.trace_file) 303 304 for ignore in options.trace_ignore: 305 internal.trace.ignore(ignore) 306 307 sys.argv = arguments 308 sys.path = [ os.path.dirname(sys.argv[0]) ] + sys.path --- 33 unchanged lines hidden --- | 301 302 internal.trace.output(options.trace_file) 303 304 for ignore in options.trace_ignore: 305 internal.trace.ignore(ignore) 306 307 sys.argv = arguments 308 sys.path = [ os.path.dirname(sys.argv[0]) ] + sys.path --- 33 unchanged lines hidden --- |