mirror of
https://github.com/lubuntu-team/metrics.git
synced 2025-05-03 16:41:28 +00:00
PEP-8 style changes.
This commit is contained in:
parent
c5b3c0423b
commit
807ab43d59
@ -19,6 +19,7 @@ from jenkinsapi.custom_exceptions import NoBuildData
|
|||||||
from jenkinsapi.jenkins import Jenkins
|
from jenkinsapi.jenkins import Jenkins
|
||||||
from os import getenv
|
from os import getenv
|
||||||
|
|
||||||
|
|
||||||
class JenkinsModule:
|
class JenkinsModule:
|
||||||
"""Jenkins module for the Metrics program"""
|
"""Jenkins module for the Metrics program"""
|
||||||
|
|
||||||
@ -103,7 +104,6 @@ class JenkinsModule:
|
|||||||
nonpassing, failing, total = self._get_data()
|
nonpassing, failing, total = self._get_data()
|
||||||
date = "strftime('%s', 'now')"
|
date = "strftime('%s', 'now')"
|
||||||
|
|
||||||
|
|
||||||
# Craft the str
|
# Craft the str
|
||||||
command = "INSERT INTO jenkins VALUES ({}, {}, {}, {});".format(
|
command = "INSERT INTO jenkins VALUES ({}, {}, {}, {});".format(
|
||||||
date, nonpassing, failing, total)
|
date, nonpassing, failing, total)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user