aboutsummaryrefslogtreecommitdiff
path: root/whatmaps
diff options
context:
space:
mode:
Diffstat (limited to 'whatmaps')
-rw-r--r--whatmaps/pkg.py5
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)