From 67f8709463fce3737e83b489b6f7fd1f0ce7f708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E7=95=85?= <631866165@qq.com> Date: Tue, 25 Aug 2020 17:18:00 +0800 Subject: [PATCH] add unicode_literals to compatible py2 --- subcmds/config.py | 1 + subcmds/push.py | 1 + subcmds/start.py | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/subcmds/config.py b/subcmds/config.py index 9c60186..fa9ee6f 100644 --- a/subcmds/config.py +++ b/subcmds/config.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import unicode_literals from __future__ import print_function import sys from command import Command diff --git a/subcmds/push.py b/subcmds/push.py index 497452e..7feb584 100644 --- a/subcmds/push.py +++ b/subcmds/push.py @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from __future__ import unicode_literals from __future__ import print_function import copy import re diff --git a/subcmds/start.py b/subcmds/start.py index 86694cb..486e3ba 100644 --- a/subcmds/start.py +++ b/subcmds/start.py @@ -13,7 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. - +from __future__ import unicode_literals from __future__ import print_function import os import sys