Fix infrequent PEP 8 issues.

This commit is contained in:
Matt Clay 2017-01-27 13:04:59 -08:00
commit 63b1e0c277
31 changed files with 41 additions and 50 deletions

View file

@ -133,10 +133,7 @@ import os
import re
import argparse
import sys
from time import time
import sys
import ConfigParser
import urllib, urllib2, base64
def get_log_filename():

View file

@ -62,7 +62,7 @@ CACHE_DIR = os.path.join(base_dir, ".spacewalk_reports")
CACHE_AGE = 300 # 5min
INI_FILE = os.path.join(base_dir, "spacewalk.ini")
# Sanity check
# Sanity check
if not os.path.exists(SW_REPORT):
print('Error: %s is required for operation.' % (SW_REPORT), file=sys.stderr)
sys.exit(1)

View file

@ -32,7 +32,8 @@ Tested with Zabbix Server 2.0.6.
from __future__ import print_function
import os, sys
import os
import sys
import argparse
import ConfigParser