<86>Apr 14 01:09:43 userdel[87456]: delete user 'rooter' <86>Apr 14 01:09:43 userdel[87456]: removed group 'rooter' owned by 'rooter' <86>Apr 14 01:09:43 groupadd[87479]: group added to /etc/group: name=rooter, GID=705 <86>Apr 14 01:09:43 groupadd[87479]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:09:43 groupadd[87479]: new group: name=rooter, GID=705 <86>Apr 14 01:09:44 useradd[87502]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Apr 14 01:09:44 userdel[87527]: delete user 'builder' <86>Apr 14 01:09:44 userdel[87527]: removed group 'builder' owned by 'builder' <86>Apr 14 01:09:44 userdel[87527]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:09:44 groupadd[87547]: group added to /etc/group: name=builder, GID=706 <86>Apr 14 01:09:44 groupadd[87547]: group added to /etc/gshadow: name=builder <86>Apr 14 01:09:44 groupadd[87547]: new group: name=builder, GID=706 <86>Apr 14 01:09:44 useradd[87565]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash <13>Apr 14 01:09:46 rpmi: libexpat-2.2.4-alt0.M80P.1 1503871120 installed <13>Apr 14 01:09:46 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Apr 14 01:09:46 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:09:46 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 14 01:09:46 rpmi: python-modules-curses-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:46 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:09:46 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:09:46 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:09:46 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:09:46 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:09:46 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:09:46 groupadd[99782]: group added to /etc/group: name=_keytab, GID=499 <13>Apr 14 01:09:46 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:09:47 rpmi: python3-base-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:09:47 rpmi: python3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:09:47 rpmi: python-modules-compiler-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:47 rpmi: rpm-build-python3-0.1.10.10-alt1.M80P.1 1530521451 installed <13>Apr 14 01:09:47 rpmi: libpython3-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:09:47 rpmi: python3-module-py-1.4.34-alt0.M80P.1 1503506764 installed <13>Apr 14 01:09:48 rpmi: python3-dev-3.5.4-alt2.M80P.1 1527753911 installed <13>Apr 14 01:09:48 rpmi: python-modules-email-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python3-module-pytest-3.2.1-alt0.M80P.1 1503499784 installed <13>Apr 14 01:09:48 rpmi: python3-module-setuptools-1:18.5-alt0.M80P.1 1497527461 installed <13>Apr 14 01:09:48 rpmi: python-modules-unittest-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-encodings-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-xml-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-hotshot-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-bsddb-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-ctypes-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-multiprocessing-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-modules-logging-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-dev-2.7.11-alt6.M80P.1 1527682470 installed <13>Apr 14 01:09:48 rpmi: python-tools-2to3-2.7.11-alt6.M80P.1 1527682470 installed Installing python-module-django-json-rpc-0.6.2-alt2.git0d98fb.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.77014 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python-module-django-json-rpc-0.6.2 + echo 'Source #0 (python-module-django-json-rpc-0.6.2.tar):' Source #0 (python-module-django-json-rpc-0.6.2.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python-module-django-json-rpc-0.6.2.tar + cd python-module-django-json-rpc-0.6.2 + /bin/chmod -c -Rf u+rwX,go-w . + find . -name '*.py' -print0 + xargs -0 sed -i -e 's/from jsonrpc/from django_jsonrpc/' + sed -i -e 's/from jsonrpc/from django_jsonrpc/' README.mdown + sed -i -e 's/packages=\['\''jsonrpc'\''\]/packages=['\''django_jsonrpc'\'']/' setup.py + sed -i -e 's/package_data={'\''jsonrpc'\''/package_data={'\''django_jsonrpc'\''/' setup.py + mv jsonrpc django_jsonrpc + cp -fR . ../python3 + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.77014 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.2 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + /usr/bin/python2.7 setup.py build /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running build running build_py creating build creating build/lib creating build/lib/django_jsonrpc copying django_jsonrpc/__init__.py -> build/lib/django_jsonrpc copying django_jsonrpc/_json.py -> build/lib/django_jsonrpc copying django_jsonrpc/exceptions.py -> build/lib/django_jsonrpc copying django_jsonrpc/mochikit.py -> build/lib/django_jsonrpc copying django_jsonrpc/proxy.py -> build/lib/django_jsonrpc copying django_jsonrpc/site.py -> build/lib/django_jsonrpc copying django_jsonrpc/types.py -> build/lib/django_jsonrpc copying django_jsonrpc/views.py -> build/lib/django_jsonrpc creating build/lib/django_jsonrpc/templates copying django_jsonrpc/templates/browse.html -> build/lib/django_jsonrpc/templates + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + find -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ./setup.py RefactoringTool: No changes to ./test/jsontesturls.py RefactoringTool: Refactored ./test/subprocess_.py --- ./test/subprocess_.py (original) +++ ./test/subprocess_.py (refactored) @@ -421,7 +421,7 @@ def _cleanup(): for inst in _active[:]: - if inst._internal_poll(_deadstate=sys.maxint) >= 0: + if inst._internal_poll(_deadstate=sys.maxsize) >= 0: try: _active.remove(inst) except ValueError: @@ -541,7 +541,7 @@ _cleanup() self._child_created = False - if not isinstance(bufsize, (int, long)): + if not isinstance(bufsize, int): raise TypeError("bufsize must be an integer") if mswindows: @@ -635,7 +635,7 @@ # We didn't get to successfully create a child process. return # In case the child hasn't been waited on, check if it's done. - self._internal_poll(_deadstate=sys.maxint) + self._internal_poll(_deadstate=sys.maxsize) if self.returncode is None and _active is not None: # Child is still running, keep us alive until we can wait on it. _active.append(self) @@ -776,7 +776,7 @@ errread, errwrite): """Execute program (MS Windows version)""" - if not isinstance(args, types.StringTypes): + if not isinstance(args, (str,)): args = list2cmdline(args) # Process startup details @@ -793,7 +793,7 @@ startupinfo.wShowWindow = SW_HIDE comspec = os.environ.get("COMSPEC", "cmd.exe") args = comspec + " /c " + args - if (GetVersion() >= 0x80000000L or + if (GetVersion() >= 0x80000000 or os.path.basename(comspec).lower() == "command.com"): # Win9x, or using command.com on NT. We need to # use the w9xpopen intermediate program. For more @@ -819,7 +819,7 @@ env, cwd, startupinfo) - except pywintypes.error, e: + except pywintypes.error as e: # Translate pywintypes.error to WindowsError, which is # a subclass of OSError. FIXME: We should really # translate errno using _sys_errlist (or simliar), but @@ -1001,7 +1001,7 @@ errread, errwrite): """Execute program (POSIX version)""" - if isinstance(args, types.StringTypes): + if isinstance(args, (str,)): args = [args] else: args = list(args) @@ -1164,7 +1164,7 @@ while read_set or write_set: try: rlist, wlist, xlist = select.select(read_set, write_set, []) - except select.error, e: + except select.error as e: if e.args[0] == errno.EINTR: continue raise @@ -1234,8 +1234,8 @@ # Example 1: Simple redirection: Get process list # plist = Popen(["ps"], stdout=PIPE).communicate()[0] - print "Process list:" - print plist + print("Process list:") + print(plist) # # Example 2: Change uid before executing child @@ -1247,42 +1247,42 @@ # # Example 3: Connecting several subprocesses # - print "Looking for 'hda'..." + print("Looking for 'hda'...") p1 = Popen(["dmesg"], stdout=PIPE) p2 = Popen(["grep", "hda"], stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 4: Catch execution error # - print - print "Trying a weird file..." + print() + print("Trying a weird file...") try: - print Popen(["/this/path/does/not/exist"]).communicate() - except OSError, e: + print(Popen(["/this/path/does/not/exist"]).communicate()) + except OSError as e: if e.errno == errno.ENOENT: - print "The file didn't exist. I thought so..." - RefactoringTool: Refactored ./test/test.py print "Child traceback:" - print e.child_traceback + print("The file didn't exist. I thought so...") + print("Child traceback:") + print(e.child_traceback) else: - print "Error", e.errno + print("Error", e.errno) else: - print >>sys.stderr, "Gosh. No error." + print("Gosh. No error.", file=sys.stderr) def _demo_windows(): # # Example 1: Connecting several subprocesses # - print "Looking for 'PROMPT' in set output..." + print("Looking for 'PROMPT' in set output...") p1 = Popen("set", stdout=PIPE, shell=True) p2 = Popen('find "PROMPT"', stdin=p1.stdout, stdout=PIPE) - print repr(p2.communicate()[0]) + print(repr(p2.communicate()[0])) # # Example 2: Simple execution of program # - print "Executing calc..." + print("Executing calc...") p = Popen("calc") p.wait() --- ./test/test.py (original) +++ ./test/test.py (refactored) @@ -4,9 +4,9 @@ try: import subprocess except ImportError: - import subprocess_ as subprocess + from . import subprocess_ as subprocess import time -import urllib +import urllib.request, urllib.parse, urllib.error sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) @@ -53,7 +53,7 @@ def _call(host, req): - return loads(urllib.urlopen(host, dumps(req)).read()) + return loads(urllib.request.urlopen(host, dumps(req)).read()) def json_serve_thread(): @@ -109,7 +109,7 @@ @jsonrpc_method('jsonrpc.varArgs(String, String, str3=String) -> Array', validate=True) def checkedVarArgsEcho(request, *args, **kw): - return list(args) + kw.values() + return list(args) + list(kw.values()) class JSONRPCFunctionalTests(unittest.TestCase): @@ -132,38 +132,38 @@ ] for sig in working_sigs: ret = _parse_sig(sig[0], list(iter(sig[2]))) - self.assertEquals(ret[0], sig[1]) - self.assertEquals(ret[1], sig[2]) - self.assertEquals(ret[2], sig[3]) + self.assertEqual(ret[0], sig[1]) + self.assertEqual(ret[1], sig[2]) + self.assertEqual(ret[2], sig[3]) for sig in error_sigs: e = None try: _parse_sig(sig[0], ['a']) - except Exception, exc: + except Exception as exc: e = exc - self.assert_(type(e) is sig[1]) + self.assertTrue(type(e) is sig[1]) def test_validate_args(self): sig = 'jsonrpc(String, String) -> String' M = jsonrpc_method(sig, validate=True)(lambda r, s1, s2: s1+s2) - self.assert_(validate_params(M, {'params': ['omg', u'wtf']}) is None) + self.assertTrue(validate_params(M, {'params': ['omg', 'wtf']}) is None) E = None try: validate_params(M, {'params': [['omg'], ['wtf']]}) - except Exception, e: + except Exception as e: E = e - self.assert_(type(E) is InvalidParamsError) + self.assertTrue(type(E) is InvalidParamsError) def test_validate_args_any(self): sig = 'jsonrpc(s1=Any, s2=Any)' M = jsonrpc_method(sig, validate=True)(lambda r, s1, s2: s1+s2) - self.assert_(validate_params(M, {'params': ['omg', 'wtf']}) is None) - self.assert_(validate_params(M, {'params': [['omg'], ['wtf']]}) is None) - self.assert_(validate_params(M, {'params': {'s1': 'omg', 's2': 'wtf'}}) is None) + self.assertTrue(validate_params(M, {'params': ['omg', 'wtf']}) is None) + self.assertTrue(validate_params(M, {'params': [['omg'], ['wtf']]}) is None) + self.assertTrue(validate_params(M, {'params': {'s1': 'omg', 's2': 'wtf'}}) is None) def test_types(self): - assert type(u'') == String + assert type('') == String assert type('') == String assert not type('') == Object assert not type([]) == Object @@ -193,20 +193,20 @@ def test_positional_args(self): proxy = ServiceProxy(self.host) - self.assert_(proxy.jsonrpc.test('Hello')[u'result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test('Hello')['result'] == 'Hello') try: proxy.jsonrpc.test(string='Hello') - except Exception, e: - self.assert_(e.args[0] == 'Unsupported arg type for JSON-RPC 1.0 ' + except Exception as e: + self.assertTrue(e.args[0] == 'Unsupported arg type for JSON-RPC 1.0 ' '(the default version for this client, ' 'pass version="2.0" to use keyword arguments)') else: - self.assert_(False, 'Proxy didnt warn about version mismatch') + self.assertTrue(False, 'Proxy didnt warn about version mismatch') def test_keyword_args(self): proxy = ServiceProxy(self.host, version='2.0') - self.assert_(proxy.jsonrpc.test(string='Hello')[u'result'] == 'Hello') - self.assert_(proxy.jsonrpc.test('Hello')[u'result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test(string='Hello')['result'] == 'Hello') + self.assertTrue(proxy.jsonrpc.test('Hello')['result'] == 'Hello') class JSONRPCTest(unittest.TestCase): @@ -228,36 +228,36 @@ def test_10(self): self.assertEqual( - self.proxy10.jsonrpc.test('this is a string')[u'result'], - u'this is a string') + self.proxy10.jsonrpc.test('this is a string')['result'], + 'this is a string') def test_11(self): req = { - u'version': u'1.1', - u'method': u'jsonrpc.test', - u'params': [u'this is a string'], - u'id': u'holy-mother-of-god' + 'version': '1.1', + 'method': 'jsonrpc.test', + 'params': ['this is a string'], + 'id': 'holy-mother-of-god' } resp = _call(self.host, req) - self.assertEquals(resp[u'id'], req[u'id']) - self.assertEquals(resp[u'result'], req[u'params'][0]) + self.assertEqual(resp['id'], req['id']) + self.assertEqual(resp['result'], req['params'][0]) def test_10_notify(self): pass def test_11_positional_mixed_args(self): req = { - u'version': u'1.1', - u'method': u'jsonrpc.strangeEcho', - u'params': {u'1': u'this is a string', u'2': u'this is omg', - u'wtf': u'pants', u'nowai': 'nopants'}, - u'id': u'toostrange' + 'version': '1.1', + 'method': 'jsonrpc.strangeEcho', + 'params': {'1': 'this is a string', '2': 'this is omg', + 'wtf': 'pants', 'nowai': 'nopants'}, + 'id': 'toostrange' } resp = _call(self.host, req) - self.assertEquals(resp[u'result'][-1], u'Default') - self.assertEquals(resp[u'result'][1], u'this is omg') - self.assertEquals(resp[u'result'][0], u'this is a string') - self.assert_(u'error' not in resp) + self.assertEqual(resp['result'][-1], 'Default') + self.assertEqual(resp['result'][1], 'this is omg') + self.assertEqual(resp['result'][0], 'this is a string') + self.assertTrue('error' not in resp) def test_11_GET(self): pass @@ -266,109 +266,109 @@ pass def test_11_GET_mixed_args(self): - params = {u'1': u'this is a string', u'2': u'this is omg', - u'wtf': u'pants', u'nowai': 'nopants'} + params = {'1': 'this is a string', '2': 'this is omg', + 'wtf': 'pants', 'nowai': 'nopants'} url = "%s%s?%s" % ( self.host, 'jsonrpc.strangeSafeEcho', - (''.join(['%s=%s&' % (k, urllib.quote(v)) for k, v in params.iteritems()])).rstrip('&') + (''.join(['%s=%s&' % (k, urllib.parse.quote(v)) for k, v in params.items()])).rstrip('&') ) - resp = loads(urllib.urlopen(url).read()) - self.assertEquals(resp[u'result'][-1], u'Default') - self.assertEquals(resp[u'result'][1], u'this is omg') - self.assertEquals(resp[u'result'][0], u'this is a string') - self.assert_(u'error' not in resp) + resp = loads(urllib.request.urlopen(url).read()) + self.assertEqual(resp['result'][-1], 'Default') + self.assertEqual(resp['result'][1], 'this is omg') + self.assertEqual(resp['result'][0], 'this is a string') + self.assertTrue('error' not in resp) def test_20_checked(self): self.assertEqual( - self.proxy10.jsonrpc.varArgs('o', 'm', 'g')[u'result'], + self.proxy10.jsonrpc.varArgs('o', 'm', 'g')['result'], ['o', 'm', 'g'] ) - self.assert_(self.proxy10.jsonrpc.varArgs(1,2,3)[u'error']) + self.assertTrue(self.proxy10.jsonrpc.varArgs(1,2,3)['error']) def test_11_service_description(self): pass def test_20_keyword_args(self): self.assertEqual( - self.proxy20.jsonrpc.test(string='this is a string')[u'result'], - u'this is a string') + self.proxy20.jsonrpc.test(string='this is a string')['result'], + 'this is a string') def test_20_positional_args(self): self.assertEqual( - self.proxy20.jsonrpc.test('this is a string')[u'result'], - u'this is a string') + self.proxy20.jsonrpc.test('this is a string')['result'], + 'this is a string') def test_20_notify(self): req = { - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.notify', - u'params': [u'this is a string'], - u'id': None + 'jsonrpc': '2.0', + 'method': 'jsonrpc.notify', + 'params': ['this is a string'], + 'id': None } - resp = urllib.urlopen(self.host, dumps(req)).read() - self.assertEquals(resp, '') + resp = urllib.request.urlopen(self.host, dumps(req)).read() + self.assertEqual(resp, '') def test_20_batch(self): req = [{ - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.test', - u'params': [u'this is a string'], - u'id': u'id-'+unicode(i) + 'jsonrpc': '2.0', + 'method': 'jsonrpc.test', + 'params': ['this is a string'], + 'id': 'id-'+str(i) } for i in range(5)] - resp = loads(urllib.urlopen(self.host, dumps(req)).read()) - self.assertEquals(len(resp), len(req)) + resp = loads(urllib.request.urlopen(self.host, dumps(req)).read()) + self.assertEqual(len(resp), len(req)) for i, D in enumerate(resp): - self.assertEquals(D[u'result'], req[i][u'params'][0]) - self.assertEquals(D[u'id'], req[i][u'id']) + self.assertEqual(D['result'], req[i]['params'][0]) + self.assertEqual(D['id'], req[i]['id']) def test_20_batch_with_errors(self): req = [{ - u'jsonrpc': u'2.0', - u'method': u'jsonrpc.test' if not i % 2 else u'jsonrpc.fails', - u'params': [u'this is a string'], - u'id': u'id-'+unicode(i) + 'jsonrpc': '2.0', + 'method': 'jsonrpc.test' if not i % 2 else 'jsonrpc.fails', + 'params': ['this is a string'], + 'id': 'id-'+str(i) } for i in range(10)] - resp = loads(urllib.urlopen(self.host, dumps(req)).read()) - self.assertEquals(len(resp), len(req)) + resp = loads(urllib.request.urlopen(self.host, dumps(req)).read()) + self.assertEqual(len(resp), len(req)) for i, D in enumerate(resp): if not i % 2: - self.assertEquals(D[u'result'], req[i][u'params'][0]) - self.assertEquals(D[u'id'], req[i][u'id']) - self.assert_(u'error' not in D) + self.assertEqual(D['result'], req[i]['params'][0]) + self.assertEqual(D['id'], req[i]['id']) + self.assertTrue('error' not in D) else: - self.assert_(u'result' not in D) - self.assert_(u'error' in D) - self.assertEquals(D[u'error'][u'code'], 500) + self.assertTrue('result' not in D) + self.assertTrue('error' in D) + self.assertEqual(D['error']['code'], 500) def test_authenticated_ok(self): - self.assertEquals( + self.assertEqual( self.proxy10.jsonrpc.testAuth( - 'sammeh', 'password', u'this is a string')[u'result'], - u'this is a string') + 'sammeh', 'password', 'this is a string')['result'], + 'this is a string') def test_authenticated_ok_kwargs(self): - self.assertEquals( + self.assertEqual( self.proxy20.jsonrpc.testAuth( - username='sammeh', password='password', string=u'this is a string')[u'result'], - u'this is a string') + username='sammeh', password='password', string='this is a string')['result'], + 'this is a string') def test_authenticated_fail_kwargs(self): try: self.proxy20.jsonrpc.testAuth( - username='osammeh', password='pRefactoringTool: Refactored ./django_jsonrpc/__init__.py RefactoringTool: No changes to ./django_jsonrpc/_json.py RefactoringTool: Refactored ./django_jsonrpc/exceptions.py RefactoringTool: No changes to ./django_jsonrpc/mochikit.py RefactoringTool: Refactored ./django_jsonrpc/proxy.py RefactoringTool: Refactored ./django_jsonrpc/site.py assword', string=u'this is a string') - except IOError, e: - self.assertEquals(e.args[1], 401) + username='osammeh', password='password', string='this is a string') + except IOError as e: + self.assertEqual(e.args[1], 401) else: - self.assert_(False, 'Didnt return status code 401 on unauthorized access') + self.assertTrue(False, 'Didnt return status code 401 on unauthorized access') def test_authenticated_fail(self): try: self.proxy10.jsonrpc.testAuth( - 'osammeh', 'password', u'this is a string') - except IOError, e: - self.assertEquals(e.args[1], 401) + 'osammeh', 'password', 'this is a string') + except IOError as e: + self.assertEqual(e.args[1], 401) else: - self.assert_(False, 'Didnt return status code 401 on unauthorized access') + self.assertTrue(False, 'Didnt return status code 401 on unauthorized access') if __name__ == '__main__': --- ./django_jsonrpc/__init__.py (original) +++ ./django_jsonrpc/__init__.py (refactored) @@ -5,6 +5,7 @@ from django_jsonrpc.site import jsonrpc_site from django_jsonrpc.types import * from django_jsonrpc.exceptions import * +import collections default_site = jsonrpc_site KWARG_RE = re.compile( @@ -42,7 +43,7 @@ """ try: T = eval(arg_type) - except Exception, e: + except Exception as e: raise ValueError('The type of %s could not be evaluated in %s for %s: %s' % (arg_type, arg, sig, str(e))) else: @@ -175,7 +176,7 @@ arg_names = getargspec(func)[0][1:] X = {'name': name, 'arg_names': arg_names} if authenticated: - if authenticated is True or callable(authenticated): + if authenticated is True or isinstance(authenticated, collections.Callable): # TODO: this is an assumption X['arg_names'] = authentication_arguments + X['arg_names'] X['name'] = _inject_args(X['name'], ('String', 'String')) @@ -188,7 +189,7 @@ user = getattr(request, 'user', None) is_authenticated = getattr(user, 'is_authenticated', lambda: False) if ((user is not None - and callable(is_authenticated) and not is_authenticated()) + and isinstance(is_authenticated, collections.Callable) and not is_authenticated()) or user is None): user = None try: --- ./django_jsonrpc/exceptions.py (original) +++ ./django_jsonrpc/exceptions.py (refactored) @@ -30,9 +30,9 @@ """ return the Exception data in a format for JSON-RPC """ error = { - 'name': unicode(self.__class__.__name__), + 'name': str(self.__class__.__name__), 'code': self.code, - 'message': "%s: %s" % (unicode(self.__class__.__name__), unicode(self.message)), + 'message': "%s: %s" % (str(self.__class__.__name__), str(self.message)), 'data': self.data} from django.conf import settings --- ./django_jsonrpc/proxy.py (original) +++ ./django_jsonrpc/proxy.py (refactored) @@ -1,4 +1,4 @@ -import urllib, uuid +import urllib.request, urllib.parse, urllib.error, uuid from django.test.client import FakePayload from django_jsonrpc._json import loads, dumps @@ -22,7 +22,7 @@ def send_payload(self, params): """Performs the actual sending action and returns the result""" - return urllib.urlopen(self.service_url, + return urllib.request.urlopen(self.service_url, dumps({ "jsonrpc": self.version, "method": self.service_name, @@ -38,11 +38,11 @@ r = self.send_payload(params) y = loads(r) - if u'error' in y: + if 'error' in y: try: from django.conf import settings if settings.DEBUG: - print '%s error %r' % (self.service_name, y) + print('%s error %r' % (self.service_name, y)) except: pass return y --- ./django_jsonrpc/site.py (original) +++ ./django_jsonrpc/site.py (refactored) @@ -14,14 +14,14 @@ from django.core.serializers.json import DjangoJSONEncoder NoneType = type(None) -encode_kw = lambda p: dict([(str(k), v) for k, v in p.iteritems()]) +encode_kw = lambda p: dict([(str(k), v) for k, v in p.items()]) def encode_kw11(p): if not type(p) is dict: return {} ret = p.copy() removes = [] - for k, v in ret.iteritems(): + for k, v in ret.items(): try: int(k) except ValueError: @@ -40,7 +40,7 @@ else: pos = [] d = encode_kw(p) - for k, v in d.iteritems(): + for k, v in d.items(): try: pos.append(int(k)) except ValueError: @@ -51,7 +51,7 @@ def validate_params(method, D): if type(D['params']) == Object: - keys = method.json_arg_types.keys() + keys = list(method.json_arg_types.keys()) if len(keys) != len(D['params']): raise InvalidParamsError('Not enough params provided for %s' % method.json_sig) for k in keys: @@ -62,7 +62,7 @@ raise InvalidParamsError('%s is not the correct type %s for %s' % (type(D['params'][k]), method.json_arg_types[k], method.json_sig)) elif type(D['params']) == Array: - arg_types = method.json_arg_types.values() + arg_types = list(method.json_arg_types.values()) try: for i, arg in enumerate(D['params']): if not Any.kind(arg) == arg_types[i]: @@ -89,7 +89,7 @@ self.json_encoder = json_encoder def register(self, name, method): - self.urls[unicode(name)] = method + self.urls[str(name)] = method def empty_response(self, version='1.0'): resp = {'id': None} @@ -105,7 +105,7 @@ encode_get_params = lambda r: dict([(k, v[0] if len(v) == 1 else v) for k, v in r]) if request.method == 'GET': - method = unicode(method) + method = str(method) if method in self.urls and getattr(self.urls[method], 'json_safe', False): D = { 'params': encode_get_params(request.GET.lists()), @@ -133,7 +133,7 @@ raise InvalidParamsError('Request requires str:"method" and list:"params"') if D['method'] not in self.urls: raise MethodNotFoundError('Method not found. Available methods: %s' % ( - '\n'.join(self.urls.keys()))) + '\n'.join(list(self.urls.keys())))) if 'jsonrpc' in D: if str(D['jsonrpc']) not in apply_version: @@ -163,24 +163,23 @@ return None, 204 encoder = json_encoder() - if not sum(map(lambda e: isinstance(R, e), # type of `R` should be one of these or... - (dict, str, unicode, int, long, list, set, NoneType, bool))): + if not sum([isinstance(R, e) for e in (dict, str, str, int, int, list, set, NoneType, bool)]): try: rs = encoder.default(R) # ...or something this thing supports - except TypeError, exc: + except TypeError as exc: raise TypeError("Return type not supported, for %r" % R) response['result'] = R status = 200 - except Error, e: + except Error as e: signals.got_request_exception.send(sender=self.__class__, request=request) response['error'] = e.json_rpc_format if version in ('1.1', '2.0') and 'result' in response: response.pop('result') status = e.status - except Exception, e: + except Exception as e: # exception missed by others signals.got_request_exception.send(sender=self.__class__, request=request) other_error = OtherError(e) @@ -225,16 +224,16 @@ status = 200 else: response, status = self.response_dict(request, D, json_encoder=json_encoder) - if response is None and (not u'id' in D or D[u'id'] is None): # a notification + if response is None and (not 'id' in D or D['id'] is None): # a notification return HttpResponse('', status=status) json_rpc = dumps(response, cls=json_encoder) - except Error, e: + except Error as e: signals.got_request_exception.send(sender=self.__class__, request=request) response['error'] = e.json_rpc_fRefactoringTool: Refactored ./django_jsonrpc/types.py RefactoringTool: Refactored ./django_jsonrpc/views.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./test/jsontesturls.py RefactoringTool: ./test/subprocess_.py RefactoringTool: ./test/test.py RefactoringTool: ./django_jsonrpc/__init__.py RefactoringTool: ./django_jsonrpc/_json.py RefactoringTool: ./django_jsonrpc/exceptions.py RefactoringTool: ./django_jsonrpc/mochikit.py RefactoringTool: ./django_jsonrpc/proxy.py RefactoringTool: ./django_jsonrpc/site.py RefactoringTool: ./django_jsonrpc/types.py RefactoringTool: ./django_jsonrpc/views.py ormat status = e.status json_rpc = dumps(response, cls=json_encoder) - except Exception, e: + except Exception as e: # exception missed by others signals.got_request_exception.send(sender=self.__class__, request=request) other_error = OtherError(e) @@ -253,7 +252,7 @@ 'summary': M.__doc__, 'idempotent': M.json_safe, 'params': [{'type': str(Any.kind(t)), 'name': k} - for k, t in M.json_arg_types.iteritems()], + for k, t in M.json_arg_types.items()], 'return': {'type': M.json_return_type}} def service_desc(self): @@ -264,7 +263,7 @@ 'summary': self.__doc__, 'version': self.version, 'procs': [self.procedure_desc(k) - for k in self.urls.iterkeys() + for k in self.urls.keys() if self.urls[k] != self.describe]} def describe(self, request): --- ./django_jsonrpc/types.py (original) +++ ./django_jsonrpc/types.py (refactored) @@ -1,3 +1,4 @@ +from functools import reduce def _types_gen(T): yield T if hasattr(T, 't'): @@ -51,8 +52,7 @@ ty = lambda t: t return reduce( lambda L, R: R if (hasattr(R, 't') and ty(t) == R) else L, - filter(lambda T: T is not Any, - _types_gen(self))) + [T for T in _types_gen(self) if T is not Any]) def decode(self, n): return reduce( @@ -61,9 +61,9 @@ # JSON primitives and data types Object = Type('Object', (object,), {}).I(dict).N('obj') -Number = Type('Number', (object,), {}).I(int, long).N('num') +Number = Type('Number', (object,), {}).I(int, int).N('num') Boolean = Type('Boolean', (object,), {}).I(bool).N('bit') -String = Type('String', (object,), {}).I(str, unicode).N('str') +String = Type('String', (object,), {}).I(str, str).N('str') Array = Type('Array', (object,), {}).I(list, set, tuple).N('arr') Nil = Type('Nil', (object,), {}).I(type(None)).N('nil') Any = Type('Any', (object,), {}).I( --- ./django_jsonrpc/views.py (original) +++ ./django_jsonrpc/views.py (refactored) @@ -1,4 +1,4 @@ -from _json import dumps +from ._json import dumps from django.http import HttpResponse from django.shortcuts import render_to_response from django_jsonrpc.site import jsonrpc_site + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + python3 setup.py build running build running build_py creating build creating build/lib creating build/lib/django_jsonrpc copying django_jsonrpc/__init__.py -> build/lib/django_jsonrpc copying django_jsonrpc/_json.py -> build/lib/django_jsonrpc copying django_jsonrpc/exceptions.py -> build/lib/django_jsonrpc copying django_jsonrpc/mochikit.py -> build/lib/django_jsonrpc copying django_jsonrpc/proxy.py -> build/lib/django_jsonrpc copying django_jsonrpc/site.py -> build/lib/django_jsonrpc copying django_jsonrpc/types.py -> build/lib/django_jsonrpc copying django_jsonrpc/views.py -> build/lib/django_jsonrpc creating build/lib/django_jsonrpc/templates copying django_jsonrpc/templates/browse.html -> build/lib/django_jsonrpc/templates + popd ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15335 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-django-json-rpc-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-django-json-rpc-buildroot + cd python-module-django-json-rpc-0.6.2 + /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-json-rpc-buildroot --force /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' warnings.warn(msg) running install running install_lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/templates/browse.html -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/views.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/types.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/site.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/proxy.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/mochikit.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/exceptions.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/_json.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/__init__.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py to views.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py to types.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py to site.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py to proxy.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py to mochikit.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py to exceptions.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py to _json.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py to __init__.pyc running install_egg_info Writing /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_json_rpc-0.6.2-py2.7.egg-info + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-json-rpc-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc creating /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/templates/browse.html -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/templates copying build/lib/django_jsonrpc/views.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/types.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/site.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/proxy.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/mochikit.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/exceptions.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/_json.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc copying build/lib/django_jsonrpc/__init__.py -> /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py to views.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py to types.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py to site.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py to proxy.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py to mochikit.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py to exceptions.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py to _json.cpython-35.pyc byte-compiling /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py to __init__.cpython-35.pyc running install_egg_info running egg_info creating django_json_rpc.egg-info writing top-level names to django_json_rpc.egg-info/top_level.txt writing dependency_links to django_json_rpc.egg-info/dependency_links.txt writing django_json_rpc.egg-info/PKG-INFO writing requirements to django_json_rpc.egg-info/requires.txt writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest file 'django_json_rpc.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'jsonrpc/templates' writing manifest file 'django_json_rpc.egg-info/SOURCES.txt' Copying django_json_rpc.egg-info to /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info running install_scripts + popd ~/RPM/BUILD/python-module-django-json-rpc-0.6.2 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-django-json-rpc-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-django-json-rpc-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/python-module-django-json-rpc-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-django-json-rpc-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-django-json-rpc-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python2.7 unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.pyc compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-django-json-rpc-buildroot using /usr/bin/python2.7 -O compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules in /usr/src/tmp/python-module-django-json-rpc-buildroot using python3 unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.pyc unlink /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.pyc compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-django-json-rpc-buildroot using python3 -O compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-django-json-rpc-buildroot using python3 -OO compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/mochikit.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/types.py compile /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.opt-2.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.opt-1.pyc' './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.opt-1.pyc' => './usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/django_jsonrpc/views.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/views.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/types.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/types.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/site.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/site.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/proxy.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/mochikit.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/_json.pyc' './usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyo' => './usr/lib/python2.7/site-packages/django_jsonrpc/__init__.pyc' Processing files: python-module-django-json-rpc-0.6.2-alt2.git0d98fb.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.95751 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.2 + DOCDIR=/usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + /bin/mkdir -p /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + cp -prL README.ALT README.mdown /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + chmod -R go-w /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + chmod -R a+rX /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python-module-django-json-rpc-0.6.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CjU8U4 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B8gQnV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: line=182 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/__init__.py: line=183 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=2 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=5 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/_json.py: line=7 IGNORE (for REQ=slight and deep=12) module=simplejson /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=2 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=38 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=sys /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=traceback python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/proxy.py: line=43 IGNORE (for REQ=slight and deep=19) module=django python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: line=10 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/site.py: line=201 IGNORE (for REQ=slight and deep=12) module=django python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding _json, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python2.7/site-packages/django_jsonrpc/views.py: hiding django_jsonrpc, which SEEMS TO BE SELF-SATISFIED Provides: python2.7-module-django-json-rpc = 0.6.2-alt2.git0d98fb.1, python2.7(django_jsonrpc), python2.7(django_jsonrpc._json), python2.7(django_jsonrpc.exceptions), python2.7(django_jsonrpc.mochikit), python2.7(django_jsonrpc.proxy), python2.7(django_jsonrpc.site), python2.7(django_jsonrpc.types), python2.7(django_jsonrpc.views) Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(django), python2.7(inspect) Processing files: python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.456 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-django-json-rpc-0.6.2 + DOCDIR=/usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + export DOCDIR + rm -rf /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + /bin/mkdir -p /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + cp -prL README.ALT README.mdown /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + chmod -R go-w /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + chmod -R a+rX /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/share/doc/python3-module-django-json-rpc-0.6.2 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CiCwNP find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XMcWwN find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py: line=183 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/__init__.py: line=184 IGNORE (for REQ=slight and deep=20) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=2 IGNORE (for REQ=slight and deep=8) module=json /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=5 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/_json.py: line=7 IGNORE (for REQ=slight and deep=12) module=simplejson /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=2 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=38 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=sys /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/exceptions.py: line=41 IGNORE (for REQ=slight and deep=16) module=traceback /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/proxy.py: line=43 IGNORE (for REQ=slight and deep=19) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py: line=10 IGNORE (for REQ=slight and deep=8) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/site.py: line=200 IGNORE (for REQ=slight and deep=12) module=django /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-json-rpc-buildroot/usr/lib/python3/site-packages/django_jsonrpc/views.py: line=1 possible relative import from ., UNIMPLEMENTED Provides: python3(django_jsonrpc), python3(django_jsonrpc._json), python3(django_jsonrpc.exceptions), python3(django_jsonrpc.mochikit), python3(django_jsonrpc.proxy), python3(django_jsonrpc.site), python3(django_jsonrpc.types), python3(django_jsonrpc.views), python3.3(django_jsonrpc), python3.3(django_jsonrpc._json), python3.3(django_jsonrpc.exceptions), python3.3(django_jsonrpc.mochikit), python3.3(django_jsonrpc.proxy), python3.3(django_jsonrpc.site), python3.3(django_jsonrpc.types), python3.3(django_jsonrpc.views) Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(collections) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(django) < 0, python3(functools) < 0, python3(inspect) < 0, python3(re) < 0, python3(urllib) < 0, python3(uuid) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-django-json-rpc-0.6.2-alt2.git0d98fb.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/noarch/python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.1.noarch.rpm 7.02user 1.11system 0:11.35elapsed 71%CPU (0avgtext+0avgdata 40304maxresident)k 0inputs+0outputs (0major+237902minor)pagefaults 0swaps 12.24user 4.90system 0:20.82elapsed 82%CPU (0avgtext+0avgdata 121972maxresident)k 0inputs+0outputs (0major+485727minor)pagefaults 0swaps --- python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.1.noarch.rpm.repo 2016-03-14 03:07:06.000000000 +0000 +++ python3-module-django-json-rpc-0.6.2-alt2.git0d98fb.1.noarch.rpm.hasher 2019-04-14 01:10:01.815372165 +0000 @@ -1,8 +1,8 @@ -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info 40755 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/not-zip-safe 100644 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/requires.txt 100644 -/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.3.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info 40755 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/not-zip-safe 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/requires.txt 100644 +/usr/lib/python3/site-packages/django_json_rpc-0.6.2-py3.5.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/django_jsonrpc 40755 @@ -10,16 +10,26 @@ /usr/lib/python3/site-packages/django_jsonrpc/__pycache__ 40755 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-33.pyo 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-33.pyc 100644 -/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-33.pyo 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/__init__.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/_json.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/exceptions.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/mochikit.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/proxy.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/site.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/types.cpython-35.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.opt-1.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.opt-2.pyc 100644 +/usr/lib/python3/site-packages/django_jsonrpc/__pycache__/views.cpython-35.pyc 100644 /usr/lib/python3/site-packages/django_jsonrpc/_json.py 100644 @@ -37,12 +47,12 @@ Requires: /usr/lib/python3/site-packages -Requires: python3.3(base64) -Requires: python3.3(collections) -Requires: python3.3(datetime) -Requires: python3.3(decimal) -Requires: python3.3(django) -Requires: python3.3(functools) -Requires: python3.3(inspect) -Requires: python3.3(re) -Requires: python3.3(urllib) -Requires: python3.3(uuid) +Requires: python3(base64) < 0 +Requires: python3(collections) < 0 +Requires: python3(datetime) < 0 +Requires: python3(decimal) < 0 +Requires: python3(django) < 0 +Requires: python3(functools) < 0 +Requires: python3(inspect) < 0 +Requires: python3(re) < 0 +Requires: python3(urllib) < 0 +Requires: python3(uuid) < 0 Requires: rpmlib(PayloadIsLzma)