Skip to content

Commit b31dd46

Browse files
authored
style.py: do not remove import spack in packages (spack#47895)
1 parent ad7417d commit b31dd46

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/spack/spack/cmd/style.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@ def process_files(file_list, is_args):
323323
rewrite_and_print_output(output, args, pat, replacement)
324324

325325
packages_isort_args = (
326-
"--rm",
327-
"spack",
328326
"--rm",
329327
"spack.pkgkit",
330328
"--rm",

var/spack/repos/builtin/packages/singularity-eos/package.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import os
77

8+
import spack
89
import spack.version
910
from spack.package import *
1011

0 commit comments

Comments
 (0)