mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #49471 from Ch3LL/debug_sigusr1
Remove string conversion on frame object in sigusr1 handler
This commit is contained in:
commit
43ead5d1bc
@ -41,7 +41,7 @@ def _handle_sigusr1(sig, stack):
|
||||
filename = 'salt-debug-{0}.log'.format(int(time.time()))
|
||||
destfile = os.path.join(tempfile.gettempdir(), filename)
|
||||
with salt.utils.files.fopen(destfile, 'w') as output:
|
||||
_makepretty(output, salt.utils.stringutils.to_str(stack))
|
||||
_makepretty(output, stack)
|
||||
|
||||
|
||||
def _handle_sigusr2(sig, stack):
|
||||
|
Loading…
Reference in New Issue
Block a user