diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-23 11:42:37 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-23 11:42:37 +0200 |
commit | 91100e0a2927a58dbd6fa8723fbe6741bc06cf23 (patch) | |
tree | f986bd83bb9dc23115b447e050d4a631604072f5 | |
parent | 70b6489772f865e0bb782b1f3307b19c689267bd (diff) |
whatmaps/pkg.py: flake8 clean
-rw-r--r-- | whatmaps/pkg.py | 5 |
1 files 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) |