Skip to content

Commit

Permalink
2018.5.18 v1.0.11 python 2 兼容性
Browse files Browse the repository at this point in the history
  • Loading branch information
wingfish committed May 18, 2018
1 parent 86184d7 commit 4759499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev_doc/fish_issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fish_common 目前测试覆盖率 62%
* 19030, common, 增加 splice_url_params() 函数;ok
* 19031, 项目增加 requirements.txt; ok
* 19032, 项目增加 .travis.yml, 准备持续集成测试; ok
* 19033, 项目增加对于 coveralls.io 的支持,监视覆盖率;
* 19033, 项目增加对于 coveralls.io 的支持,监视覆盖率; 本地 python 2.7.15 测试通过; ok

---

Expand Down
7 changes: 6 additions & 1 deletion fish_base/fish_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@
# 2016.10.4 v1.0.9 add #19001 check_sub_path_create()
# 2017.1.8 v1.0.9 #19003, remove file related functions to fish_file.py
import sys

if sys.version > '3':
import configparser
else:
import ConfigParser as configparser

import uuid
import configparser
import re
import hashlib
import os
Expand Down

0 comments on commit 4759499

Please sign in to comment.