Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
20dae799
Commit
20dae799
authored
Mar 13, 2012
by
Julien Muchembled
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix and update copyright notices
parent
c4e49518
Changes
135
Hide whitespace changes
Inline
Side-by-side
Showing
135 changed files
with
260 additions
and
453 deletions
+260
-453
neo/admin/app.py
neo/admin/app.py
+2
-3
neo/admin/handler.py
neo/admin/handler.py
+2
-3
neo/client/Storage.py
neo/client/Storage.py
+2
-3
neo/client/__init__.py
neo/client/__init__.py
+1
-1
neo/client/app.py
neo/client/app.py
+2
-3
neo/client/cache.py
neo/client/cache.py
+4
-16
neo/client/config.py
neo/client/config.py
+2
-3
neo/client/container.py
neo/client/container.py
+1
-2
neo/client/exception.py
neo/client/exception.py
+1
-2
neo/client/handlers/__init__.py
neo/client/handlers/__init__.py
+2
-3
neo/client/handlers/master.py
neo/client/handlers/master.py
+2
-3
neo/client/handlers/storage.py
neo/client/handlers/storage.py
+2
-3
neo/client/iterator.py
neo/client/iterator.py
+2
-3
neo/client/poll.py
neo/client/poll.py
+2
-3
neo/client/pool.py
neo/client/pool.py
+2
-3
neo/lib/__init__.py
neo/lib/__init__.py
+2
-3
neo/lib/attributeTracker.py
neo/lib/attributeTracker.py
+2
-3
neo/lib/bootstrap.py
neo/lib/bootstrap.py
+2
-3
neo/lib/config.py
neo/lib/config.py
+2
-3
neo/lib/connection.py
neo/lib/connection.py
+2
-3
neo/lib/connector.py
neo/lib/connector.py
+2
-3
neo/lib/debug.py
neo/lib/debug.py
+1
-2
neo/lib/dispatcher.py
neo/lib/dispatcher.py
+2
-3
neo/lib/event.py
neo/lib/event.py
+2
-3
neo/lib/exception.py
neo/lib/exception.py
+2
-3
neo/lib/handler.py
neo/lib/handler.py
+2
-3
neo/lib/logger.py
neo/lib/logger.py
+2
-3
neo/lib/node.py
neo/lib/node.py
+2
-3
neo/lib/profiling.py
neo/lib/profiling.py
+1
-2
neo/lib/protocol.py
neo/lib/protocol.py
+2
-3
neo/lib/pt.py
neo/lib/pt.py
+2
-3
neo/lib/util.py
neo/lib/util.py
+2
-3
neo/master/app.py
neo/master/app.py
+2
-3
neo/master/backup_app.py
neo/master/backup_app.py
+4
-16
neo/master/handlers/__init__.py
neo/master/handlers/__init__.py
+2
-3
neo/master/handlers/administration.py
neo/master/handlers/administration.py
+2
-3
neo/master/handlers/backup.py
neo/master/handlers/backup.py
+4
-16
neo/master/handlers/client.py
neo/master/handlers/client.py
+2
-3
neo/master/handlers/election.py
neo/master/handlers/election.py
+2
-3
neo/master/handlers/identification.py
neo/master/handlers/identification.py
+2
-3
neo/master/handlers/secondary.py
neo/master/handlers/secondary.py
+2
-3
neo/master/handlers/shutdown.py
neo/master/handlers/shutdown.py
+2
-3
neo/master/handlers/storage.py
neo/master/handlers/storage.py
+2
-3
neo/master/pt.py
neo/master/pt.py
+2
-3
neo/master/recovery.py
neo/master/recovery.py
+2
-3
neo/master/transactions.py
neo/master/transactions.py
+2
-3
neo/master/verification.py
neo/master/verification.py
+2
-3
neo/neoctl/app.py
neo/neoctl/app.py
+2
-3
neo/neoctl/handler.py
neo/neoctl/handler.py
+2
-3
neo/neoctl/neoctl.py
neo/neoctl/neoctl.py
+2
-3
neo/scripts/neoadmin.py
neo/scripts/neoadmin.py
+1
-2
neo/scripts/neoctl.py
neo/scripts/neoctl.py
+1
-2
neo/scripts/neomaster.py
neo/scripts/neomaster.py
+1
-2
neo/scripts/neomigrate.py
neo/scripts/neomigrate.py
+1
-2
neo/scripts/neostorage.py
neo/scripts/neostorage.py
+1
-2
neo/scripts/runner.py
neo/scripts/runner.py
+1
-2
neo/scripts/simple.py
neo/scripts/simple.py
+4
-16
neo/storage/app.py
neo/storage/app.py
+2
-3
neo/storage/checker.py
neo/storage/checker.py
+4
-16
neo/storage/database/__init__.py
neo/storage/database/__init__.py
+2
-3
neo/storage/database/manager.py
neo/storage/database/manager.py
+2
-3
neo/storage/database/mysqldb.py
neo/storage/database/mysqldb.py
+2
-3
neo/storage/database/sqlite.py
neo/storage/database/sqlite.py
+1
-2
neo/storage/exception.py
neo/storage/exception.py
+1
-2
neo/storage/handlers/__init__.py
neo/storage/handlers/__init__.py
+2
-3
neo/storage/handlers/client.py
neo/storage/handlers/client.py
+2
-3
neo/storage/handlers/hidden.py
neo/storage/handlers/hidden.py
+2
-3
neo/storage/handlers/identification.py
neo/storage/handlers/identification.py
+2
-3
neo/storage/handlers/initialization.py
neo/storage/handlers/initialization.py
+2
-3
neo/storage/handlers/master.py
neo/storage/handlers/master.py
+2
-3
neo/storage/handlers/storage.py
neo/storage/handlers/storage.py
+2
-3
neo/storage/handlers/verification.py
neo/storage/handlers/verification.py
+2
-3
neo/storage/replicator.py
neo/storage/replicator.py
+2
-3
neo/storage/transactions.py
neo/storage/transactions.py
+1
-2
neo/tests/__init__.py
neo/tests/__init__.py
+2
-3
neo/tests/client/testClientApp.py
neo/tests/client/testClientApp.py
+2
-3
neo/tests/client/testConnectionPool.py
neo/tests/client/testConnectionPool.py
+2
-3
neo/tests/client/testMasterHandler.py
neo/tests/client/testMasterHandler.py
+2
-3
neo/tests/client/testStorageHandler.py
neo/tests/client/testStorageHandler.py
+2
-3
neo/tests/cluster.py
neo/tests/cluster.py
+2
-4
neo/tests/functional/__init__.py
neo/tests/functional/__init__.py
+2
-3
neo/tests/functional/testClient.py
neo/tests/functional/testClient.py
+2
-3
neo/tests/functional/testCluster.py
neo/tests/functional/testCluster.py
+2
-3
neo/tests/functional/testMaster.py
neo/tests/functional/testMaster.py
+2
-3
neo/tests/functional/testStorage.py
neo/tests/functional/testStorage.py
+2
-3
neo/tests/master/testClientHandler.py
neo/tests/master/testClientHandler.py
+2
-3
neo/tests/master/testElectionHandler.py
neo/tests/master/testElectionHandler.py
+2
-3
neo/tests/master/testMasterApp.py
neo/tests/master/testMasterApp.py
+2
-3
neo/tests/master/testMasterPT.py
neo/tests/master/testMasterPT.py
+2
-3
neo/tests/master/testRecovery.py
neo/tests/master/testRecovery.py
+2
-3
neo/tests/master/testStorageHandler.py
neo/tests/master/testStorageHandler.py
+2
-3
neo/tests/master/testTransactions.py
neo/tests/master/testTransactions.py
+2
-3
neo/tests/master/testVerification.py
neo/tests/master/testVerification.py
+2
-3
neo/tests/storage/testClientHandler.py
neo/tests/storage/testClientHandler.py
+2
-3
neo/tests/storage/testIdentificationHandler.py
neo/tests/storage/testIdentificationHandler.py
+2
-3
neo/tests/storage/testInitializationHandler.py
neo/tests/storage/testInitializationHandler.py
+2
-3
neo/tests/storage/testMasterHandler.py
neo/tests/storage/testMasterHandler.py
+2
-3
neo/tests/storage/testStorageApp.py
neo/tests/storage/testStorageApp.py
+2
-3
neo/tests/storage/testStorageDBTests.py
neo/tests/storage/testStorageDBTests.py
+2
-3
neo/tests/storage/testStorageMySQL.py
neo/tests/storage/testStorageMySQL.py
+2
-3
neo/tests/storage/testStorageSQLite.py
neo/tests/storage/testStorageSQLite.py
+2
-3
neo/tests/storage/testTransactions.py
neo/tests/storage/testTransactions.py
+1
-2
neo/tests/storage/testVerificationHandler.py
neo/tests/storage/testVerificationHandler.py
+2
-3
neo/tests/testBootstrap.py
neo/tests/testBootstrap.py
+2
-3
neo/tests/testConnection.py
neo/tests/testConnection.py
+2
-3
neo/tests/testDispatcher.py
neo/tests/testDispatcher.py
+2
-3
neo/tests/testEvent.py
neo/tests/testEvent.py
+2
-3
neo/tests/testHandler.py
neo/tests/testHandler.py
+2
-3
neo/tests/testNodes.py
neo/tests/testNodes.py
+2
-3
neo/tests/testPT.py
neo/tests/testPT.py
+2
-3
neo/tests/testProtocol.py
neo/tests/testProtocol.py
+2
-3
neo/tests/testUtil.py
neo/tests/testUtil.py
+2
-3
neo/tests/threaded/__init__.py
neo/tests/threaded/__init__.py
+2
-4
neo/tests/threaded/test.py
neo/tests/threaded/test.py
+2
-4
neo/tests/threaded/testReplication.py
neo/tests/threaded/testReplication.py
+2
-4
neo/tests/zodb/__init__.py
neo/tests/zodb/__init__.py
+2
-3
neo/tests/zodb/testBasic.py
neo/tests/zodb/testBasic.py
+2
-3
neo/tests/zodb/testConflict.py
neo/tests/zodb/testConflict.py
+2
-3
neo/tests/zodb/testHistory.py
neo/tests/zodb/testHistory.py
+2
-3
neo/tests/zodb/testIterator.py
neo/tests/zodb/testIterator.py
+2
-3
neo/tests/zodb/testMT.py
neo/tests/zodb/testMT.py
+2
-3
neo/tests/zodb/testPack.py
neo/tests/zodb/testPack.py
+2
-3
neo/tests/zodb/testPersistent.py
neo/tests/zodb/testPersistent.py
+2
-3
neo/tests/zodb/testReadOnly.py
neo/tests/zodb/testReadOnly.py
+2
-3
neo/tests/zodb/testRecovery.py
neo/tests/zodb/testRecovery.py
+2
-3
neo/tests/zodb/testRevision.py
neo/tests/zodb/testRevision.py
+2
-3
neo/tests/zodb/testSynchronization.py
neo/tests/zodb/testSynchronization.py
+2
-3
neo/tests/zodb/testUndo.py
neo/tests/zodb/testUndo.py
+2
-3
neo/tests/zodb/testVersion.py
neo/tests/zodb/testVersion.py
+2
-3
neo/tests/zodb/testZODB.py
neo/tests/zodb/testZODB.py
+2
-3
neoadmin
neoadmin
+1
-2
neoctl
neoctl
+1
-2
neomaster
neomaster
+1
-2
neomigrate
neomigrate
+1
-2
neostorage
neostorage
+1
-2
No files found.
neo/admin/app.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
...
...
neo/admin/handler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
...
...
neo/client/Storage.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ZODB
import
BaseStorage
,
ConflictResolution
,
POSException
from
zope.interface
import
implements
...
...
neo/client/__init__.py
View file @
20dae799
##############################################################################
#
# Copyright (
c
) 2001, 2002 Zope Foundation and Contributors.
# Copyright (
C
) 2001, 2002 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
...
...
neo/client/app.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
cPickle
import
dumps
,
loads
from
zlib
import
compress
as
real_compress
,
decompress
...
...
neo/client/cache.py
View file @
20dae799
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2011-2012 Nexedi SA
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
math
...
...
neo/client/config.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ZODB.config
import
BaseConfig
...
...
neo/client/container.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
thread
import
get_ident
from
neo.lib.locking
import
Queue
...
...
neo/client/exception.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ZODB
import
POSException
...
...
neo/client/handlers/__init__.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.lib.handler
import
EventHandler
from
neo.lib.protocol
import
ProtocolError
,
Packets
...
...
neo/client/handlers/master.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib.pt
import
MTPartitionTable
as
PartitionTable
...
...
neo/client/handlers/storage.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ZODB.TimeStamp
import
TimeStamp
from
ZODB.POSException
import
ConflictError
...
...
neo/client/iterator.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ZODB
import
BaseStorage
from
zope.interface
import
implements
...
...
neo/client/poll.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
logging
import
DEBUG
,
ERROR
from
threading
import
Thread
,
Event
,
enumerate
as
thread_enum
...
...
neo/client/pool.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
time
from
random
import
shuffle
...
...
neo/lib/__init__.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
logging
as
logging_std
...
...
neo/lib/attributeTracker.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
ATTRIBUTE_TRACKER_ENABLED
=
False
...
...
neo/lib/bootstrap.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
from
time
import
sleep
...
...
neo/lib/config.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
ConfigParser
import
SafeConfigParser
from
.
import
util
...
...
neo/lib/connection.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
functools
import
wraps
from
time
import
time
...
...
neo/lib/connector.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
socket
import
errno
...
...
neo/lib/debug.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
traceback
import
signal
...
...
neo/lib/dispatcher.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
functools
import
wraps
from
.locking
import
Lock
,
Empty
...
...
neo/lib/event.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
time
import
time
import
neo.lib
...
...
neo/lib/exception.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
class
NeoException
(
Exception
):
pass
...
...
neo/lib/handler.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
functools
import
wraps
import
neo.lib
...
...
neo/lib/logger.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
base64
import
b64encode
import
neo
...
...
neo/lib/node.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
time
import
time
from
os.path
import
exists
,
getsize
...
...
neo/lib/profiling.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Profiling is done with tiny-profiler, a very simple profiler.
...
...
neo/lib/protocol.py
View file @
20dae799
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
socket
import
sys
...
...
neo/lib/pt.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
math
from
functools
import
wraps
...
...
neo/lib/util.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
re
...
...
neo/master/app.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
import
os
,
sys
...
...
neo/master/backup_app.py
View file @
20dae799
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2012 Nexedi SA
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
random
,
weakref
from
bisect
import
bisect
...
...
neo/master/handlers/__init__.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
...
...
neo/master/handlers/administration.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
random
import
neo
...
...
neo/master/handlers/backup.py
View file @
20dae799
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2012 Nexedi SA
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.lib.exception
import
PrimaryFailure
from
neo.lib.handler
import
EventHandler
...
...
neo/master/handlers/client.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib.protocol
import
NodeStates
,
Packets
,
ProtocolError
...
...
neo/master/handlers/election.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
...
...
neo/master/handlers/identification.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
...
...
neo/master/handlers/secondary.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
.
import
MasterHandler
from
neo.lib.handler
import
EventHandler
...
...
neo/master/handlers/shutdown.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib
import
protocol
...
...
neo/master/handlers/storage.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib.protocol
import
CellStates
,
ClusterStates
,
Packets
,
ProtocolError
...
...
neo/master/pt.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib.pt
from
struct
import
pack
,
unpack
...
...
neo/master/recovery.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
struct
import
pack
...
...
neo/master/transactions.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
time
import
time
,
gmtime
from
struct
import
pack
,
unpack
...
...
neo/master/verification.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
from
neo.lib.util
import
dump
...
...
neo/neoctl/app.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
.neoctl
import
NeoCTL
,
NotReadyException
from
neo.lib.util
import
bin
,
dump
...
...
neo/neoctl/handler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.lib.handler
import
EventHandler
from
neo.lib.protocol
import
ErrorCodes
,
Packets
...
...
neo/neoctl/neoctl.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.lib.connector
import
getConnectorHandler
from
neo.lib.connection
import
ClientConnection
...
...
neo/scripts/neoadmin.py
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
optparse
import
OptionParser
from
neo.lib
import
setupLog
...
...
neo/scripts/neoctl.py
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
sys
from
optparse
import
OptionParser
...
...
neo/scripts/neomaster.py
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
optparse
import
OptionParser
from
neo.lib
import
setupLog
...
...
neo/scripts/neomigrate.py
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
optparse
import
OptionParser
import
logging
...
...
neo/scripts/neostorage.py
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
optparse
import
OptionParser
from
neo.lib
import
setupLog
...
...
neo/scripts/runner.py
View file @
20dae799
...
...
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
traceback
import
unittest
...
...
neo/scripts/simple.py
View file @
20dae799
#!/usr/bin/env python
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2011 Nexedi SA
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
inspect
,
random
,
signal
,
sys
from
optparse
import
OptionParser
...
...
neo/storage/app.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
import
sys
...
...
neo/storage/checker.py
View file @
20dae799
##############################################################################
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2012 Nexedi SA
#
# WARNING: This program as such is intended to be used by professional
# programmers who take the whole responsibility of assessing all potential
# consequences resulting from its eventual inadequacies and bugs
# End users who are looking for a ready-to-use solution with commercial
# guarantees and support are strongly advised to contract a Free Software
# Service Company
#
# This program is Free Software; you can redistribute it and/or
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
##############################################################################
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
collections
import
deque
from
functools
import
wraps
...
...
neo/storage/database/__init__.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
LOG_QUERIES
=
False
...
...
neo/storage/database/manager.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib
import
util
...
...
neo/storage/database/mysqldb.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
binascii
import
a2b_hex
import
MySQLdb
...
...
neo/storage/database/sqlite.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
sqlite3
import
neo.lib
...
...
neo/storage/exception.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
class
AlreadyPendingError
(
Exception
):
pass
...
...
neo/storage/handlers/__init__.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
...
...
neo/storage/handlers/client.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib.handler
import
EventHandler
...
...
neo/storage/handlers/hidden.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
...
...
neo/storage/handlers/identification.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
...
...
neo/storage/handlers/initialization.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
...
...
neo/storage/handlers/master.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo.lib
from
neo.lib.util
import
dump
...
...
neo/storage/handlers/storage.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
weakref
from
functools
import
wraps
...
...
neo/storage/handlers/verification.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
neo
...
...
neo/storage/replicator.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
Replication algorithm
...
...
neo/storage/transactions.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
time
import
time
import
neo.lib
...
...
neo/tests/__init__.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
__builtin__
import
os
...
...
neo/tests/client/testClientApp.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
cPickle
import
dumps
...
...
neo/tests/client/testConnectionPool.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
,
ReturnValues
...
...
neo/tests/client/testMasterHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/client/testStorageHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/cluster.py
View file @
20dae799
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2011 Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
__builtin__
import
errno
...
...
neo/tests/functional/__init__.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
errno
import
os
...
...
neo/tests/functional/testClient.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
import
unittest
...
...
neo/tests/functional/testCluster.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
import
transaction
...
...
neo/tests/functional/testMaster.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
.
import
NEOCluster
,
NEOFunctionalTest
...
...
neo/tests/functional/testStorage.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
time
import
unittest
...
...
neo/tests/master/testClientHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testElectionHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testMasterApp.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testMasterPT.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testRecovery.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
struct
import
pack
,
unpack
...
...
neo/tests/master/testStorageHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testTransactions.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/master/testVerification.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
struct
import
pack
,
unpack
...
...
neo/tests/storage/testClientHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
,
ReturnValues
...
...
neo/tests/storage/testIdentificationHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/storage/testInitializationHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/storage/testMasterHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/storage/testStorageApp.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
,
ReturnValues
...
...
neo/tests/storage/testStorageDBTests.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
binascii
import
a2b_hex
import
unittest
...
...
neo/tests/storage/testStorageMySQL.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
import
MySQLdb
...
...
neo/tests/storage/testStorageSQLite.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
.testStorageDBTests
import
StorageDBTests
...
...
neo/tests/storage/testTransactions.py
View file @
20dae799
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
random
import
unittest
...
...
neo/tests/storage/testVerificationHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/testBootstrap.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/testConnection.py
View file @
20dae799
# -*- coding: utf-8 -*-
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
time
import
time
from
mock
import
Mock
...
...
neo/tests/testDispatcher.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
mock
import
Mock
from
.
import
NeoTestBase
...
...
neo/tests/testEvent.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
from
.
import
NeoUnitTestBase
...
...
neo/tests/testHandler.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/testNodes.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/testPT.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
mock
import
Mock
...
...
neo/tests/testProtocol.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
2
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
import
socket
...
...
neo/tests/testUtil.py
View file @
20dae799
#
# Copyright (C) 2006-201
0
Nexedi SA
# Copyright (C) 2006-201
1
Nexedi SA
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
...
...
neo/tests/threaded/__init__.py
View file @
20dae799
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2011-2012 Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
,
random
,
socket
,
sys
,
tempfile
,
threading
,
time
,
types
,
weakref
import
traceback
...
...
neo/tests/threaded/test.py
View file @
20dae799
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2011-2012 Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
threading
import
transaction
...
...
neo/tests/threaded/testReplication.py
View file @
20dae799
#
# Copyright (c) 2011 Nexedi SARL and Contributors. All Rights Reserved.
# Julien Muchembled <jm@nexedi.com>
# Copyright (C) 2012 Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
random
import
sys
...
...
neo/tests/zodb/__init__.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
...
...
neo/tests/zodb/testBasic.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.BasicStorage
import
BasicStorage
...
...
neo/tests/zodb/testConflict.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.ConflictResolution
import
ConflictResolvingStorage
...
...
neo/tests/zodb/testHistory.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.HistoryStorage
import
HistoryStorage
...
...
neo/tests/zodb/testIterator.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.IteratorStorage
import
IteratorStorage
...
...
neo/tests/zodb/testMT.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.MTStorage
import
MTStorage
...
...
neo/tests/zodb/testPack.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -13,8 +13,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
try
:
...
...
neo/tests/zodb/testPersistent.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.PersistentStorage
import
PersistentStorage
...
...
neo/tests/zodb/testReadOnly.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.ReadOnlyStorage
import
ReadOnlyStorage
...
...
neo/tests/zodb/testRecovery.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
os
import
unittest
...
...
neo/tests/zodb/testRevision.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.RevisionStorage
import
RevisionStorage
...
...
neo/tests/zodb/testSynchronization.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.StorageTestBase
import
StorageTestBase
...
...
neo/tests/zodb/testUndo.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.StorageTestBase
import
StorageTestBase
...
...
neo/tests/zodb/testVersion.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests.VersionStorage
import
VersionStorage
...
...
neo/tests/zodb/testZODB.py
View file @
20dae799
#
# Copyright (C) 2009-201
0
Nexedi SA
# Copyright (C) 2009-201
1
Nexedi SA
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
...
...
@@ -12,8 +12,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import
unittest
from
ZODB.tests
import
testZODB
...
...
neoadmin
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.scripts.neoadmin
import
main
main
()
...
...
neoctl
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.scripts.neoctl
import
main
main
()
...
...
neomaster
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.scripts.neomaster
import
main
main
()
...
...
neomigrate
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.scripts.neomigrate
import
main
main
()
...
...
neostorage
View file @
20dae799
...
...
@@ -15,8 +15,7 @@
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from
neo.scripts.neostorage
import
main
main
()
...
...
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