Signed-off-by: Dan McGee <dan@archlinux.org> --- Namcap/rules/shebangdepends.py | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/Namcap/rules/shebangdepends.py b/Namcap/rules/shebangdepends.py index bace844..7858abe 100644 --- a/Namcap/rules/shebangdepends.py +++ b/Namcap/rules/shebangdepends.py @@ -27,13 +27,9 @@ import tempfile import subprocess import pyalpm import Namcap.package -from Namcap.util import is_elf, script_type +from Namcap.util import script_type from Namcap.ruleclass import * -if not pyalpm.checkinit(): - pyalpm.initialize() - pyalpm.options.dbpath = "/var/lib/pacman" - def scanshebangs(fileobj, filename, scripts): """ Scan a file for shebang and stores the interpreter name. -- 1.7.5.2