mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 07:31:23 -07:00
Fix infrequent PEP 8 issues.
This commit is contained in:
parent
13fc909058
commit
63b1e0c277
31 changed files with 41 additions and 50 deletions
|
@ -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():
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue