Commit 193a797a authored by Vincent A's avatar Vincent A Committed by Romain Bignon

tools/debpydeb: port to python3

parent 3d010f20
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import print_function
......@@ -35,6 +35,7 @@ for f in selection:
p = subprocess.Popen(['/usr/bin/dpkg', '-S', f], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if p.wait() == 0:
for line in p.stdout.readlines():
line = line.decode('utf-8')
print('not found: %s' % f)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment