Translate python2 to python3

*opencas.py*: changed result class to contain text values instead of bytes,
translated chache configuring methods to py3,
*init script*: changed regex input on raw string to work in py3.

Signed-off-by: Slawomir_Jankowski <slawomir.jankowski@intel.com>
This commit is contained in:
Slawomir_Jankowski
2019-07-30 09:51:55 +02:00
committed by Slawomir_Jankowski
parent d01c26d629
commit 3d5d82f892
3 changed files with 10 additions and 12 deletions

View File

@@ -1,10 +1,9 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
#
# Copyright(c) 2012-2019 Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause-Clear
#
from __future__ import print_function
import subprocess
import time
import opencas