Drop python2
This commit is contained in:
parent
36d2fe7b4f
commit
ebe7480738
5 changed files with 12 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
|||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="Python 2.7.11 (C:\tools\python2\python.exe)" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.6" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="TestRunnerService">
|
||||
|
|
|
@ -4,9 +4,12 @@
|
|||
<inspection_tool class="PyCompatibilityInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
||||
<option name="ourVersions">
|
||||
<value>
|
||||
<list size="2">
|
||||
<item index="0" class="java.lang.String" itemvalue="2.7" />
|
||||
<item index="1" class="java.lang.String" itemvalue="3.5" />
|
||||
<list size="5">
|
||||
<item index="0" class="java.lang.String" itemvalue="3.5" />
|
||||
<item index="1" class="java.lang.String" itemvalue="3.6" />
|
||||
<item index="2" class="java.lang.String" itemvalue="3.7" />
|
||||
<item index="3" class="java.lang.String" itemvalue="3.8" />
|
||||
<item index="4" class="java.lang.String" itemvalue="3.9" />
|
||||
</list>
|
||||
</value>
|
||||
</option>
|
||||
|
|
|
@ -1,17 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
||||
<OptionsSetting value="true" id="Add" />
|
||||
<OptionsSetting value="true" id="Remove" />
|
||||
<OptionsSetting value="true" id="Checkout" />
|
||||
<OptionsSetting value="true" id="Update" />
|
||||
<OptionsSetting value="true" id="Status" />
|
||||
<OptionsSetting value="true" id="Edit" />
|
||||
<ConfirmationsSetting value="0" id="Add" />
|
||||
<ConfirmationsSetting value="0" id="Remove" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7.11 (C:\tools\python2\python.exe)" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.6" project-jdk-type="Python SDK" />
|
||||
<component name="PythonCompatibilityInspectionAdvertiser">
|
||||
<option name="version" value="1" />
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
</project>
|
|
@ -1 +1 @@
|
|||
from cakecms import CakeCMS
|
||||
from .cakecms import CakeCMS
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
from __future__ import unicode_literals
|
||||
from __future__ import print_function
|
||||
import requests
|
||||
import urllib
|
||||
import urllib.parse
|
||||
import json
|
||||
import collections
|
||||
import datetime
|
||||
|
||||
|
||||
def quote_named_param(p):
|
||||
return urllib.quote(str(p)).replace('/', '%2f')
|
||||
return urllib.parse.quote(str(p)).replace('/', '%2f')
|
||||
|
||||
|
||||
def json_decode_ordered(txt):
|
||||
|
|
Loading…
Reference in a new issue