Skip to content

Commit

Permalink
Fix Python syntax error AGAIN in start_rpc_server_to_tracker.py (apac…
Browse files Browse the repository at this point in the history
…he#4685)

apache#4682 Tried to fix a Python syntax error but did not go far enough because there are _three sets_ of embedded quotes.
This PR solves the syntax error by using Python's triple quoted strings on the outside and then double quotes in the middle and then single quotes on the inside.
  • Loading branch information
cclauss authored and alexwong committed Feb 26, 2020
1 parent 71c1106 commit ebf0ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/vta_rpc/start_rpc_server_to_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
PROJROOT="$( cd '$( dirname "${BASH_SOURCE[0]}" )/../../' && pwd )"
PROJROOT="""$( cd "$( dirname '${BASH_SOURCE[0]}' )/../../" && pwd )"""

# Derive target specified by vta_config.json
VTA_CONFIG=${PROJROOT}/vta/config/vta_config.py
Expand Down

0 comments on commit ebf0ad6

Please sign in to comment.