Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mwclient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WebU
shared
mwclient
Commits
91adf2a3
Commit
91adf2a3
authored
5 years ago
by
Marc Trölitzsch
Committed by
Dan Michael O. Heggø
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
remove: simplejson dependency
parent
f960d853
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
mwclient/client.py
+1
-4
1 addition, 4 deletions
mwclient/client.py
test/test_client.py
+2
-4
2 additions, 4 deletions
test/test_client.py
test/test_listing.py
+2
-4
2 additions, 4 deletions
test/test_listing.py
test/test_page.py
+1
-4
1 addition, 4 deletions
test/test_page.py
with
6 additions
and
16 deletions
mwclient/client.py
+
1
−
4
View file @
91adf2a3
...
...
@@ -6,10 +6,7 @@ import six
from
collections
import
OrderedDict
try
:
import
json
except
ImportError
:
import
simplejson
as
json
import
json
import
requests
from
requests.auth
import
HTTPBasicAuth
,
AuthBase
from
requests_oauthlib
import
OAuth1
...
...
This diff is collapsed.
Click to expand it.
test/test_client.py
+
2
−
4
View file @
91adf2a3
...
...
@@ -11,12 +11,10 @@ import responses
import
pkg_resources
# part of setuptools
import
mock
import
time
import
json
from
requests_oauthlib
import
OAuth1
try
:
import
json
except
ImportError
:
import
simplejson
as
json
if
__name__
==
"
__main__
"
:
print
()
...
...
This diff is collapsed.
Click to expand it.
test/test_listing.py
+
2
−
4
View file @
91adf2a3
...
...
@@ -7,13 +7,11 @@ import logging
import
requests
import
responses
import
mock
import
json
import
mwclient
from
mwclient.listing
import
List
,
GeneratorList
try
:
import
json
except
ImportError
:
import
simplejson
as
json
if
__name__
==
"
__main__
"
:
print
()
...
...
This diff is collapsed.
Click to expand it.
test/test_page.py
+
1
−
4
View file @
91adf2a3
...
...
@@ -7,16 +7,13 @@ import logging
import
requests
import
responses
import
mock
import
json
import
mwclient
from
mwclient.page
import
Page
from
mwclient.client
import
Site
from
mwclient.listing
import
Category
from
mwclient.errors
import
APIError
,
AssertUserFailedError
,
ProtectedPageError
,
InvalidPageTitle
try
:
import
json
except
ImportError
:
import
simplejson
as
json
if
__name__
==
"
__main__
"
:
print
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment