From 91100e0a2927a58dbd6fa8723fbe6741bc06cf23 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Fri, 23 Sep 2016 11:42:37 +0200 Subject: whatmaps/pkg.py: flake8 clean --- whatmaps/pkg.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/whatmaps/pkg.py b/whatmaps/pkg.py index 4290d0b..7aafd5a 100644 --- a/whatmaps/pkg.py +++ b/whatmaps/pkg.py @@ -19,6 +19,7 @@ import re import string import subprocess + class PkgError(Exception): pass @@ -55,8 +56,8 @@ class Pkg(object): if self._contents: return self._contents else: - cmd = [ string.Template(arg).substitute(arg, pkg_name=self.name) - for arg in self._list_contents ] + cmd = [string.Template(arg).substitute(arg, pkg_name=self.name) + for arg in self._list_contents] list_contents = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) -- cgit v1.2.3