diff options
| author | 2019-04-24 17:25:47 -0400 | |
|---|---|---|
| committer | 2019-04-24 17:26:07 -0400 | |
| commit | 3a146c286344474bd5d6958b3c2eab10341ff399 (patch) | |
| tree | 660cf7a426de5f71f4dd49a12135feb86c5dbf22 /snekbox.py | |
| parent | Remove docstring newline linting from ignored codes (diff) | |
Relint Snekbox with new linting rules
Diffstat (limited to 'snekbox.py')
| -rw-r--r-- | snekbox.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -45,7 +45,6 @@ class Snekbox: Returns the output of executing the command (stdout) if successful, or a error message if the execution failed. """ - args = [self.nsjail_binary, '-Mo', '--rlimit_as', '700', '--chroot', '/', @@ -108,7 +107,6 @@ class Snekbox: to RMQ. Once published, the system exits, since the snekboxes are created and disposed of per-execution. """ - msg = body.decode('utf-8') result = '' snek_msg = json.loads(msg) @@ -125,7 +123,6 @@ class Snekbox: def message_handler(self, ch, method, properties, body, thread_ws=None): """Spawns a daemon process that handles RMQ messages.""" - p = multiprocessing.Process(target=self.execute, args=(body,)) p.daemon = True p.start() |