Skip to content

Commit

Permalink
Move sys import to before its first use
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-h committed Jun 11, 2020
1 parent 9d5e40f commit 6eeb92f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/like_top.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@

# Python2 compatibility
from __future__ import print_function
import sys
if sys.version_info < (3,):
range = xrange

import os
import sys
import glob
import time
import curses
Expand Down Expand Up @@ -443,4 +443,4 @@ def main(args):
)
args = parser.parse_args()
main(args)


0 comments on commit 6eeb92f

Please sign in to comment.