Random Project

make check_apt_last_update python3 (ubuntu 20.04) ready

#!/usr/bin/env python3
4a5
> # plugin adjusted from python2 to python3 20200603
8c9
__version__ = “0.0.2”
33c34
print(“%sOK: %s” % (check, message))
36c37
print(“%sWARNING: %s” % (check, message))
39c40
print(“%sCRITICAL: %s” % (check, message))
42c43
print(“UNKNOWN: %s” % message)
147a149,151
> # self.verbosity = int(self.verbosity)
> if self.verbosity == None:
> self.verbosity = 0
149c153
print(“%s” % message)
192c196
line = next(f)
315,316c319,320
% (__title__, __version__, __author__))
326c330
print(“Caught Control-C…”)