mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 07:57:43 +00:00
support/scripts/pkg-stats: fix flake8 issues
Fixes: - blank space before ':' - unused 'o' variable left from a previous patch - bad continuous alignment Signed-off-by: Victor Huesca <victor.huesca@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a8fac3fcfc
commit
3938afe1b5
@ -682,7 +682,6 @@ def dump_json(packages, stats, date, commit, output):
|
|||||||
}
|
}
|
||||||
statistics['infra'] = {k[6:]: v for k, v in stats.items() if k.startswith('infra-')}
|
statistics['infra'] = {k[6:]: v for k, v in stats.items() if k.startswith('infra-')}
|
||||||
# The actual structure to dump, add commit and date to it
|
# The actual structure to dump, add commit and date to it
|
||||||
o = subprocess.check_output(["git", "log", "master", "-n", "1", "--pretty=format:%H"])
|
|
||||||
final = {'packages': pkgs,
|
final = {'packages': pkgs,
|
||||||
'stats': statistics,
|
'stats': statistics,
|
||||||
'commit': commit,
|
'commit': commit,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user