mirror of
https://abf.rosa.ru/djam/repo-analyzer.git
synced 2025-02-23 18:12:54 +00:00
Fix .py files headers; correct case in a message
This commit is contained in:
parent
cf90b2e630
commit
f078a7c26e
5 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
import gettext
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
import sys
|
||||
import gettext
|
||||
|
@ -192,7 +195,7 @@ SELECT packages.id AS package_id, packages.nvra,
|
|||
NOT EXISTS (SELECT 1 FROM so_needed_res WHERE so_needed_res.so_needed_id = so_needed.id)
|
||||
ORDER BY packages.nvra, package_files.basename, so_needed.name
|
||||
""", [repodir_id]).fetchall()
|
||||
print 'object files not resolved by rpm requires-provides: ', len(objects_not_resolved1)
|
||||
print 'Object files not resolved by rpm requires-provides: ', len(objects_not_resolved1)
|
||||
if objects_not_resolved1:
|
||||
print 'Searching object files resolutions (2)...'
|
||||
in_so_needed = ','.join(str(obj_rec[4]) for obj_rec in objects_not_resolved1)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# -*- coding: UTF-8 -*-
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
import rpm
|
||||
|
|
Loading…
Add table
Reference in a new issue