Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodbtools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
zodbtools
Commits
72011755
Commit
72011755
authored
Jan 30, 2019
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zodb: rework command driver for python3 compatibility
parent
27064917
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
setup.py
setup.py
+1
-1
tox.ini
tox.ini
+1
-0
zodbtools/zodb.py
zodbtools/zodb.py
+1
-4
No files found.
setup.py
View file @
72011755
...
...
@@ -23,7 +23,7 @@ setup(
install_requires
=
[
'ZODB'
,
'zodburi'
,
'zope.interface'
,
'pygolang >= 0.0.0.dev6'
,
'six'
,
'dateparser'
],
extras_require
=
{
'test'
:
[
'pytest'
,
'freezegun'
,
'pytz'
],
'test'
:
[
'pytest'
,
'freezegun'
,
'pytz'
,
'mock;python_version<="2.7"'
],
},
entry_points
=
{
'console_scripts'
:
[
'zodb = zodbtools.zodb:main'
]},
...
...
tox.ini
View file @
72011755
...
...
@@ -8,6 +8,7 @@ deps =
pytest
freezegun
pytz
mock
;python_version<="2.7"
# latest ZODB from ZODB3 series
ZODB3:
ZODB3
>=3.10,
<3.11dev
...
...
zodbtools/zodb.py
View file @
72011755
...
...
@@ -51,10 +51,7 @@ Usage:
The commands are:
"""
,
file
=
out
)
cmdv
=
command_dict
.
keys
()
cmdv
.
sort
()
for
cmd
in
cmdv
:
cmd_module
=
command_dict
[
cmd
]
for
cmd
,
cmd_module
in
sorted
(
command_dict
.
items
()):
print
(
" %-11s %s"
%
(
cmd
,
cmd_module
.
summary
),
file
=
out
)
print
(
"""
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment