summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTorbjörn Lönnemark <tobbez@ryara.net>2016-08-04 15:39:45 +0200
committerTorbjörn Lönnemark <ketl@nsc.liu.se>2016-08-04 16:09:49 +0200
commita591e183bcb0c23fe48016b3e018ca48c4ff45c3 (patch)
tree4099375fbb633affcd2eb57b2d9304589ee14251 /lib
parentb7fa2c4e2161f34fcdaa355b36b3c63832844b3d (diff)
downloadspack-a591e183bcb0c23fe48016b3e018ca48c4ff45c3.tar.gz
spack-a591e183bcb0c23fe48016b3e018ca48c4ff45c3.tar.bz2
spack-a591e183bcb0c23fe48016b3e018ca48c4ff45c3.tar.xz
spack-a591e183bcb0c23fe48016b3e018ca48c4ff45c3.zip
Fix incorrect indentation
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/util/web.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/spack/spack/util/web.py b/lib/spack/spack/util/web.py
index 47abc507e0..6af2b76aff 100644
--- a/lib/spack/spack/util/web.py
+++ b/lib/spack/spack/util/web.py
@@ -125,11 +125,11 @@ def _spider(args):
if abs_link in visited:
continue
- # If we're not at max depth, follow links.
- if depth < max_depth:
- subcalls.append((abs_link, visited, root, None,
- depth+1, max_depth, raise_on_error))
- visited.add(abs_link)
+ # If we're not at max depth, follow links.
+ if depth < max_depth:
+ subcalls.append((abs_link, visited, root, None,
+ depth+1, max_depth, raise_on_error))
+ visited.add(abs_link)
if subcalls:
try: