mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-05-11 08:51:29 +00:00
fix flake8 warning
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
This commit is contained in:
parent
e083529784
commit
21adb8f61f
@ -48,7 +48,7 @@ def system_distribution_chain():
|
|||||||
if len(_system_distribution_chain) == 0:
|
if len(_system_distribution_chain) == 0:
|
||||||
try:
|
try:
|
||||||
vendor = check_output(('dpkg-vendor', '--query', 'Vendor'),
|
vendor = check_output(('dpkg-vendor', '--query', 'Vendor'),
|
||||||
encoding='utf-8').strip()
|
encoding='utf-8').strip()
|
||||||
_system_distribution_chain.append(vendor)
|
_system_distribution_chain.append(vendor)
|
||||||
except CalledProcessError:
|
except CalledProcessError:
|
||||||
print('Error: Could not determine what distribution you are running.')
|
print('Error: Could not determine what distribution you are running.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user