From 5557dba6c05871daa3e6eb40da76aa073fe45800 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Wed, 1 Feb 2017 10:53:49 +0100
Subject: [PATCH] cleanup (pep8 & pyflakes)

---
 tests/test_ntp.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/test_ntp.py b/tests/test_ntp.py
index 6b982473..0ef81b9f 100755
--- a/tests/test_ntp.py
+++ b/tests/test_ntp.py
@@ -4,13 +4,12 @@
 import os
 import sys
 import subprocess
-import shlex
 import imp
 
 # Check that ntpd is synced
 print('Running ntpq -pd')
 ntpd_status = subprocess.getoutput('LANG=C ntpq -pd')
-if not 'remote' in ntpd_status:
+if 'remote' not in ntpd_status:
     print('NTP not working, ntpq -p output:\n%s' % ntpd_status)
     sys.exit(1)
 else:
-- 
GitLab