From 92b1e3a8286dc12e8b89eeb3cc8fb0bdcb74b0ef Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Mon, 28 Mar 2022 16:12:17 +0300 Subject: [PATCH] [~] Refactor --- dotfiles/.local/bin/commands | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dotfiles/.local/bin/commands b/dotfiles/.local/bin/commands index 947491e..450a0ae 100755 --- a/dotfiles/.local/bin/commands +++ b/dotfiles/.local/bin/commands @@ -4,6 +4,7 @@ import json import traceback import time import sys +import io import subprocess import logging @@ -30,11 +31,8 @@ def memory_stats(): def eternal_oom(memory_limit=None): import signal - import os import re import time - import io - import subprocess import pprint self_pid = os.getpid() if memory_limit is None: