Complete the Python3 work!
This commit is contained in:
parent
b09302dbbe
commit
37710c426a
@ -2,6 +2,9 @@ language: python
|
|||||||
python:
|
python:
|
||||||
- 2.6
|
- 2.6
|
||||||
- 2.7
|
- 2.7
|
||||||
|
- 3.2
|
||||||
|
- 3.3
|
||||||
|
- 3.4
|
||||||
- pypy
|
- pypy
|
||||||
install: python setup.py install
|
install: python setup.py install
|
||||||
before_script: pip install nose
|
before_script: pip install nose
|
||||||
|
@ -773,7 +773,7 @@ class Client(local):
|
|||||||
# short-circuit if there are no servers, just return all keys
|
# short-circuit if there are no servers, just return all keys
|
||||||
if not server_keys: return(mapping.keys())
|
if not server_keys: return(mapping.keys())
|
||||||
|
|
||||||
for server, keys in server_keys.iteritems():
|
for server, keys in server_keys.items():
|
||||||
try:
|
try:
|
||||||
for key in keys:
|
for key in keys:
|
||||||
if server.readline() == 'STORED':
|
if server.readline() == 'STORED':
|
||||||
|
@ -2,3 +2,6 @@
|
|||||||
release = 1
|
release = 1
|
||||||
packager = Sean Reifschneider <jafo-rpms@tummy.com>
|
packager = Sean Reifschneider <jafo-rpms@tummy.com>
|
||||||
requires = python-memcached
|
requires = python-memcached
|
||||||
|
|
||||||
|
[wheel]
|
||||||
|
universal = 1
|
||||||
|
8
setup.py
8
setup.py
@ -22,5 +22,13 @@ setup(name="python-memcached",
|
|||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Topic :: Internet",
|
"Topic :: Internet",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
|
"Programming Language :: Python",
|
||||||
|
"Programming Language :: Python :: 2",
|
||||||
|
"Programming Language :: Python :: 2.6",
|
||||||
|
"Programming Language :: Python :: 2.7",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.2",
|
||||||
|
"Programming Language :: Python :: 3.3",
|
||||||
|
"Programming Language :: Python :: 3.4"
|
||||||
])
|
])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user