Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
neo
Commits
20dae799
Commit
20dae799
authored
13 years ago
by
Julien Muchembled
Browse files
Options
Download
Email Patches
Plain Diff
Fix and update copyright notices
parent
c4e49518
Changes
135
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
39 additions
and
69 deletions
+39
-69
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
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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,
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
7
Next
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