Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
522a142d
Commit
522a142d
authored
Jan 13, 2017
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
client: remove unused Storage.cleanup
parent
358da254
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
7 deletions
+0
-7
neo/client/Storage.py
neo/client/Storage.py
+0
-5
neo/tests/threaded/__init__.py
neo/tests/threaded/__init__.py
+0
-1
neo/tests/zodb/__init__.py
neo/tests/zodb/__init__.py
+0
-1
No files found.
neo/client/Storage.py
View file @
522a142d
...
@@ -191,11 +191,6 @@ class Storage(BaseStorage.BaseStorage,
...
@@ -191,11 +191,6 @@ class Storage(BaseStorage.BaseStorage,
# seems used only by FileStorage
# seems used only by FileStorage
raise
NotImplementedError
raise
NotImplementedError
def
cleanup
(
self
):
# Used in unit tests to remove local database files.
# We have no such thing, so make this method a no-op.
pass
def
close
(
self
):
def
close
(
self
):
# WARNING: This does not handle the case where an app is shared by
# WARNING: This does not handle the case where an app is shared by
# several Storage instances, but this is something that only
# several Storage instances, but this is something that only
...
...
neo/tests/threaded/__init__.py
View file @
522a142d
...
@@ -23,7 +23,6 @@ from ConfigParser import SafeConfigParser
...
@@ -23,7 +23,6 @@ from ConfigParser import SafeConfigParser
from
contextlib
import
contextmanager
from
contextlib
import
contextmanager
from
itertools
import
count
from
itertools
import
count
from
functools
import
partial
,
wraps
from
functools
import
partial
,
wraps
from
thread
import
get_ident
from
zlib
import
decompress
from
zlib
import
decompress
from
..mock
import
Mock
from
..mock
import
Mock
import
transaction
,
ZODB
import
transaction
,
ZODB
...
...
neo/tests/zodb/__init__.py
View file @
522a142d
...
@@ -42,7 +42,6 @@ class ZODBTestCase(TestCase):
...
@@ -42,7 +42,6 @@ class ZODBTestCase(TestCase):
self
.
open
()
self
.
open
()
def
_tearDown
(
self
,
success
):
def
_tearDown
(
self
,
success
):
self
.
_storage
.
cleanup
()
try
:
try
:
if
functional
:
if
functional
:
self
.
neo
.
stop
()
self
.
neo
.
stop
()
...
...
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