summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoralalazo <massimiliano.culpo@googlemail.com>2016-05-20 10:34:11 +0200
committeralalazo <massimiliano.culpo@googlemail.com>2016-05-20 10:34:11 +0200
commit7303c387e87c783b2cc5b980456ae21a8bbe7ed4 (patch)
tree8fcce9345f93bc9ca164e94826cac17e58b645b3 /lib
parentb485ca8198ab677e1e0a3616f5d0d25d5024b3ce (diff)
downloadspack-7303c387e87c783b2cc5b980456ae21a8bbe7ed4.tar.gz
spack-7303c387e87c783b2cc5b980456ae21a8bbe7ed4.tar.bz2
spack-7303c387e87c783b2cc5b980456ae21a8bbe7ed4.tar.xz
spack-7303c387e87c783b2cc5b980456ae21a8bbe7ed4.zip
autopep8 : fixed style
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/find.py1
-rw-r--r--lib/spack/spack/test/cmd/find.py5
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/spack/spack/cmd/find.py b/lib/spack/spack/cmd/find.py
index 9d6d6be1ea..93c10a910f 100644
--- a/lib/spack/spack/cmd/find.py
+++ b/lib/spack/spack/cmd/find.py
@@ -237,4 +237,3 @@ def find(parser, args):
long=args.long,
very_long=args.very_long,
show_flags=args.show_flags)
-
diff --git a/lib/spack/spack/test/cmd/find.py b/lib/spack/spack/test/cmd/find.py
index c9909c81c5..371e9650e0 100644
--- a/lib/spack/spack/test/cmd/find.py
+++ b/lib/spack/spack/test/cmd/find.py
@@ -29,15 +29,18 @@ import unittest
class Bunch(object):
+
def __init__(self, **kwargs):
self.__dict__.update(kwargs)
class FindTest(unittest.TestCase):
+
def test_query_arguments(self):
query_arguments = spack.cmd.find.query_arguments
# Default arguments
- args = Bunch(only_missing=False, missing=False, unknown=False, explicit=False, implicit=False)
+ args = Bunch(only_missing=False, missing=False,
+ unknown=False, explicit=False, implicit=False)
q_args = query_arguments(args)
self.assertTrue('installed' in q_args)
self.assertTrue('known' in q_args)