Skip to content

Commit

Permalink
Merge pull request quattor#103 in AQUILON_AQD/aqd from ~AQBLD/aqd:for…
Browse files Browse the repository at this point in the history
…_merge/master/by_topic/AQUILON_7558_add_sandbox to master

* commit '216b195be7eb74f0d9d7a34e071d0ab7ef23bea1':
  Fix sandbox preparation functionality
  • Loading branch information
joaocosta committed Jul 15, 2021
2 parents 39a9904 + 216b195 commit aa8c7af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/aq.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# ex: set expandtab softtabstop=4 shiftwidth=4:
#
# Copyright (C) 2008-2019 Contributor
# Copyright (C) 2008-2019,2021 Contributor
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -211,8 +211,8 @@ def create_sandbox(pageData, noexec=False):
cmd_clone = ("git", "clone", "--branch", sandbox_name,
template_king_url, sandbox_name)
cmd_prepare = None
if globalOptions.get('prepare_sandbox'):
cmd_prepare = (globalOptions.get("prepare_sandbox"), sandbox_dir)
if defaultOpts.get('prepare_sandbox'):
cmd_prepare = (defaultOpts.get("prepare_sandbox"), sandbox_dir)
if noexec:
print("cd '%s'" % user_base)
print(" ".join("'%s'" % c for c in cmd_clone))
Expand Down

0 comments on commit aa8c7af

Please sign in to comment.