86>Dec 6 02:13:00 userdel[2680612]: delete user 'rooter'
<86>Dec 6 02:13:00 userdel[2680612]: removed shadow group 'rooter' owned by 'rooter'
<86>Dec 6 02:13:00 groupadd[2680617]: group added to /etc/group: name=rooter, GID=639
<86>Dec 6 02:13:00 groupadd[2680617]: group added to /etc/gshadow: name=rooter
<86>Dec 6 02:13:00 groupadd[2680617]: new group: name=rooter, GID=639
<86>Dec 6 02:13:00 useradd[2680621]: new user: name=rooter, UID=639, GID=639, home=/root, shell=/bin/bash
<86>Dec 6 02:13:00 userdel[2680628]: delete user 'builder'
<86>Dec 6 02:13:00 userdel[2680628]: removed group 'builder' owned by 'builder'
<86>Dec 6 02:13:00 userdel[2680628]: removed shadow group 'builder' owned by 'builder'
<86>Dec 6 02:13:00 groupadd[2680633]: group added to /etc/group: name=builder, GID=640
<86>Dec 6 02:13:00 groupadd[2680633]: group added to /etc/gshadow: name=builder
<86>Dec 6 02:13:00 groupadd[2680633]: new group: name=builder, GID=640
<86>Dec 6 02:13:00 useradd[2680637]: new user: name=builder, UID=640, GID=640, home=/usr/src, shell=/bin/bash
<13>Dec 6 02:13:03 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>Dec 6 02:13:03 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed
<13>Dec 6 02:13:03 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>Dec 6 02:13:03 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed
<13>Dec 6 02:13:03 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Dec 6 02:13:03 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>Dec 6 02:13:03 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed
<13>Dec 6 02:13:03 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed
<13>Dec 6 02:13:03 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>Dec 6 02:13:03 rpmi: libcrypto1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed
<13>Dec 6 02:13:03 rpmi: libssl1.1-1.1.1g-alt1 p9+250580.100.5.1 1588175208 installed
<13>Dec 6 02:13:03 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>Dec 6 02:13:03 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>Dec 6 02:13:04 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>Dec 6 02:13:04 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed
<13>Dec 6 02:13:04 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed
<13>Dec 6 02:13:09 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Dec 6 02:13:09 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Dec 6 02:13:09 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed
<13>Dec 6 02:13:09 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>Dec 6 02:13:09 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>Dec 6 02:13:09 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>Dec 6 02:13:09 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<86>Dec 6 02:13:09 groupadd[2686510]: group added to /etc/group: name=_keytab, GID=499
<86>Dec 6 02:13:09 groupadd[2686510]: group added to /etc/gshadow: name=_keytab
<86>Dec 6 02:13:09 groupadd[2686510]: new group: name=_keytab, GID=499
<13>Dec 6 02:13:09 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed
<13>Dec 6 02:13:09 rpmi: libtirpc-1.0.3-alt1 1532008015 installed
<13>Dec 6 02:13:09 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed
<13>Dec 6 02:13:09 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Dec 6 02:13:09 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed
<13>Dec 6 02:13:09 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>Dec 6 02:13:09 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
<13>Dec 6 02:13:09 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/python-module-django-piston-0.2.3-alt1.hg20120330.2.nosrc.rpm
Installing python-module-django-piston-0.2.3-alt1.hg20120330.2.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.1567
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf django-piston-0.2.3
+ echo 'Source #0 (django-piston-0.2.3.tar):'
Source #0 (django-piston-0.2.3.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/django-piston-0.2.3.tar
+ cd django-piston-0.2.3
+ /bin/chmod -c -Rf u+rwX,go-w .
+ cp -fR . ../python3
+ find ../python3 -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 ../python3/tests/test_project/urls.py
RefactoringTool: No changes to ../python3/tests/test_project/settings.py
RefactoringTool: No changes to ../python3/tests/test_project/apps/testapp/urls.py
RefactoringTool: Refactored ../python3/tests/test_project/apps/testapp/tests.py
--- ../python3/tests/test_project/apps/testapp/tests.py (original)
+++ ../python3/tests/test_project/apps/testapp/tests.py (refactored)
@@ -11,10 +11,10 @@
try:
import yaml
except ImportError:
- print "Can't run YAML testsuite"
+ print("Can't run YAML testsuite")
yaml = None
-import urllib, base64, tempfile
+import urllib.request, urllib.parse, urllib.error, base64, tempfile
from test_project.apps.testapp.models import TestModel, ExpressiveTestModel, Comment, InheritedModel, Issue58Model, ListFieldsModel, CircularA, CircularB, CircularC
from test_project.apps.testapp import signals
@@ -67,7 +67,7 @@
self.assertEqual(token.secret, oatoken.secret)
# Simulate user authentication...
- self.failUnless(self.client.login(username='admin', password='admin'))
+ self.assertTrue(self.client.login(username='admin', password='admin'))
request = oauth.OAuthRequest.from_token_and_callback(token=oatoken,
callback='http://printer.example.com/request_token_ready',
http_url='http://testserver/api/oauth/authorize')
@@ -89,8 +89,8 @@
# Response should be a redirect...
self.assertEqual(302, response.status_code)
- self.failUnless(response['Location'].startswith("http://printer.example.com/request_token_ready?"))
- self.failUnless(('oauth_token='+oatoken.key in response['Location']))
+ self.assertTrue(response['Location'].startswith("http://printer.example.com/request_token_ready?"))
+ self.assertTrue(('oauth_token='+oatoken.key in response['Location']))
# Actually we can't test this last part, since it's 1.0a.
# Obtain access token...
@@ -107,25 +107,25 @@
def test_invalid_auth_header(self):
response = self.client.get('/api/entries/')
- self.assertEquals(response.status_code, 401)
+ self.assertEqual(response.status_code, 401)
# no space
bad_auth_string = 'Basic%s' % base64.encodestring('admin:admin').rstrip()
response = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=bad_auth_string)
- self.assertEquals(response.status_code, 401)
+ self.assertEqual(response.status_code, 401)
# no colon
bad_auth_string = 'Basic %s' % base64.encodestring('adminadmin').rstrip()
response = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=bad_auth_string)
- self.assertEquals(response.status_code, 401)
+ self.assertEqual(response.status_code, 401)
# non base64 data
bad_auth_string = 'Basic FOOBARQ!'
response = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=bad_auth_string)
- self.assertEquals(response.status_code, 401)
+ self.assertEqual(response.status_code, 401)
class TestMultipleAuthenticators(MainTests):
def test_both_authenticators(self):
@@ -139,7 +139,7 @@
response = self.client.get('/api/multiauth/',
HTTP_AUTHORIZATION=auth_string)
- self.assertEquals(response.status_code, 200, 'Failed with combo of %s:%s' % (username, password))
+ self.assertEqual(response.status_code, 200, 'Failed with combo of %s:%s' % (username, password))
class MultiXMLTests(MainTests):
def init_delegate(self):
@@ -152,14 +152,14 @@
expected = '\nNoneNoneNoneNone'
result = self.client.get('/api/entries.xml',
HTTP_AUTHORIZATION=self.auth_string).content
- self.assertEquals(expected, result)
+ self.assertEqual(expected, result)
def test_singlexml(self):
obj = TestModel.objects.all()[0]
expected = '\nNoneNone'
result = self.client.get('/api/entry-%d.xml' % (obj.pk,),
HTTP_AUTHORIZATION=self.auth_string).content
- self.assertEquals(expected, result)
+ self.assertEqual(expected, result)
class AbstractBaseClassTests(MainTests):
def init_delegate(self):
@@ -185,7 +185,7 @@
}
]"""
- self.assertEquals(result, expected)
+ self.assertEqual(result, expected)
def test_specific_id(self):
ids = (1, 2)
@@ -201,7 +201,7 @@
expected = be % id_
- self.assertEquals(result, expected)
+ self.assertEqual(result, expected)
class IncomingExpressiveTests(MainTests):
def init_delegate(self):
@@ -231,12 +231,12 @@
result = self.client.get('/api/expressive.json',
HTTP_AUTHORIZATION=self.auth_string).content
- self.assertEquals(result, expected)
+ self.assertEqual(result, expected)
resp = self.client.post('/api/expressive.json', outgoing, content_type='application/json',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 201)
+ self.assertEqual(resp.status_code, 201)
expected = """[
{
@@ -266,14 +266,14 @@
result = self.client.get('/api/expressive.json',
HTTP_AUTHORIZATION=self.auth_string).content
- self.assertEquals(result, expected)
+ self.assertEqual(result, expected)
def test_incoming_invalid_json(self):
resp = self.client.post('/api/expressive.json',
'foo',
HTTP_AUTHORIZATION=self.auth_string,
content_type='application/json')
- self.assertEquals(resp.status_code, 400)
+ self.assertEqual(resp.status_code, 400)
def test_incoming_yaml(self):
if not yaml:
@@ -287,7 +287,7 @@
title: foo2
"""
- self.assertEquals(self.client.get('/api/expressive.yaml',
+ self.assertEqual(self.client.get('/api/expressive.yaml',
HTTP_AUTHORIZATION=self.auth_string).content, expected)
outgoing = yaml.dump({ 'title': 'test', 'content': 'test',
@@ -297,7 +297,7 @@
resp = self.client.post('/api/expressive.json', outgoing, content_type='application/x-yaml',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 201)
+ self.assertEqual(resp.status_code, 201)
expected = """- comments: []
content: bar
@@ -311,7 +311,7 @@
content: test
title: test
"""
- self.assertEquals(self.client.get('/api/expressive.yaml',
+ self.assertEqual(self.client.get('/api/expressive.yaml',
HTTP_AUTHORIZATION=self.auth_string).content, expected)
def test_incoming_invalid_yaml(self):
@@ -319,7 +319,7 @@
' 8**sad asj lja foo',
HTTP_AUTHORIZATION=self.auth_string,
content_type='application/x-yaml')
- self.assertEquals(resp.status_code, 400)
+ self.assertEqual(resp.status_code, 400)
class Issue36RegressionTests(MainTests):
"""
@@ -349,7 +349,7 @@
try:
response = self.client.post('/api/entries.xml',
{'file':fp}, HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(1, len(self.request.FILES), 'request.FILES on POST is empty when it should contain 1 file')
+ self.assertEqual(1, len(self.request.FILES), 'request.FILES on POST is empty when it should contain 1 file')
finally:
fp.close()
@@ -363,29 +363,29 @@
try:
response = self.client.put('/api/entry-%d.xml' % self.data.pk,
{'file': fp}, HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(1, len(self.request.FILES), 'request.FILES on PUT is empty when it should contain 1 file')
+ self.assertEqual(1, len(self.request.FILES), 'request.FILES on PUT is empty when it should contain 1 file')
finally:
fp.close()
class ValidationTest(MainTests):
def test_basic_validation_fails(self):
resp = self.client.get('/api/echo')
- self.assertEquals(resp.status_code, 400)
- self.assertEquals(resp.content, 'Bad Request
'
+ self.assertEqual(resp.status_code, 400)
+ self.assertEqual(resp.content, 'Bad Request '
'- msg
- This field is required.
'
'
')
def test_basic_validation_succeeds(self):
data = {'msg': 'donuts!'}
resp = self.client.get('/api/echo', data)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(data, simplejson.loads(resp.content))
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(data, simplejson.loads(resp.content))
class PlainOldObject(MainTests):
def test_plain_object_serialization(self):
resp = self.client.get('/api/popo')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals({'type': 'plain', 'field': 'a field'}, simplejson.loads(resp.content))
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual({'type': 'plain', 'field': 'a field'}, simplejson.loads(resp.content))
class ListFieldsTest(MainTests):
def init_delegate(self):
@@ -401,8 +401,8 @@
"variety": "apple"
}'''
resp = self.client.get('/api/list_fields/1')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp.content, expect)
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp.content, expect)
def test_multiple_items(self):
@@ -421,22 +421,22 @@
}
]'''
resp = self.client.get('/api/list_fields')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp.content, expect)
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp.content, expect)
class ErrorHandlingTests(MainTests):
"""Test proper handling of errors by Resource"""
def test_response_not_allowed(self):
resp = self.client.post('/api/echo')
- self.assertEquals(resp.status_code, 405)
- self.assertEquals(resp['Allow'], 'GET, HEAD')
+ self.assertEqual(resp.status_code, 405)
+ self.assertEqual(resp['Allow'], 'GET, HEAD')
def test_not_found_because_of_unexpected_http_method(self):
# not using self.client.head because it is not present in Django 1.0
resp = self.client.get('/api/echo', REQUEST_METHOD='HEAD')
- self.assertEquals(resp.status_code, 404)
- self.assertEquals(resp.content, '')
+ self.assertEqual(resp.status_code, 404)
+ self.assertEqual(resp.content, '')
class Issue58ModelTests(MainTests):
@@ -468,19 +468,19 @@
# test GET
result = self.client.get('/api/issue58.json',
HTTP_AUTHORIZATION=self.auth_string).content
- self.assertEquals(result, expected)
+ self.assertEqual(result, expected)
# test POST
resp = self.client.post('/api/issue58.json', outgoing, content_type='application/json',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 201)
+ self.assertEqual(resp.status_code, 201)
class Issue188ValidateWithFiles(MainTests):
def test_whoops_no_file_upload(self):
resp = self.client.post(
reverse('file-upload-test'),
data={'chaff': 'pewpewpew'})
- self.assertEquals(resp.status_code, 400)
+ self.assertEqual(resp.status_code, 400)
def test_upload_with_file(self):
tmp_fs = tempfile.NamedTemporaryFile(suffix='.txt')
@@ -491,8 +491,8 @@
reverse('file-upload-test'),
data={'chaff': 'pewpewpew',
'le_file': tmp_fs})
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(simplejson.loads(resp.content),
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(simplejson.loads(resp.content),
{'chaff': 'pewpewpew',
'file_size': len(content)})
@@ -500,73 +500,73 @@
def test_format_in_url(self):
resp = self.client.get('/api/entries.json',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/json; charset=utf-8')
resp = self.client.get('/api/entries.xml',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'text/xml; charset=utf-8')
resp = self.client.get('/api/entries.yaml',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/x-yaml; charset=utf-8')
def test_format_in_get_data(self):
resp = self.client.get('/api/entries/?format=json',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/json; charset=utf-8')
resp = self.client.get('/api/entries/?format=xml',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'text/xml; charset=utf-8')
resp = self.client.get('/api/entries/?format=yaml',
HTTP_AUTHORIZATION=self.auth_string)
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/x-yaml; charset=utf-8')
def test_format_in_accept_headers(self):
resp = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=self.auth_string,
HTTP_ACCEPT='application/json')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/json; charset=utf-8')
resp = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=self.auth_string,
HTTP_ACCEPT='text/xml')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'text/xml; charset=utf-8')
resp = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=self.auth_string,
HTTP_ACCEPT='application/x-yaml')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/x-yaml; charset=utf-8')
def test_strict_accept_headers(self):
- import urls
+ from . import urls
self.assertFalse(urls.entries.strict_accept)
- self.assertEquals(urls.entries.default_emitter, 'json')
+ self.assertEqual(urls.entries.default_emitter, 'jRefactoringTool: No changes to ../python3/tests/test_project/apps/testapp/signals.py
RefactoringTool: No changes to ../python3/tests/test_project/apps/testapp/models.py
RefactoringTool: Refactored ../python3/tests/test_project/apps/testapp/handlers.py
RefactoringTool: Refactored ../python3/tests/bootstrap.py
RefactoringTool: No changes to ../python3/setup.py
RefactoringTool: Refactored ../python3/piston/validate_jsonp.py
son')
resp = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=self.auth_string,
HTTP_ACCEPT='text/html')
- self.assertEquals(resp.status_code, 200)
- self.assertEquals(resp['Content-type'],
+ self.assertEqual(resp.status_code, 200)
+ self.assertEqual(resp['Content-type'],
'application/json; charset=utf-8')
urls.entries.strict_accept = True
resp = self.client.get('/api/entries/',
HTTP_AUTHORIZATION=self.auth_string,
HTTP_ACCEPT='text/html')
- self.assertEquals(resp.status_code, 406)
+ self.assertEqual(resp.status_code, 406)
class CircularReferenceTest(MainTests):
def init_delegate(self):
--- ../python3/tests/test_project/apps/testapp/handlers.py (original)
+++ ../python3/tests/test_project/apps/testapp/handlers.py (refactored)
@@ -3,8 +3,8 @@
from piston.handler import BaseHandler
from piston.utils import rc, validate
-from models import TestModel, ExpressiveTestModel, Comment, InheritedModel, PlainOldObject, Issue58Model, ListFieldsModel, CircularA, CircularB, CircularC
-from forms import EchoForm, FormWithFileField
+from .models import TestModel, ExpressiveTestModel, Comment, InheritedModel, PlainOldObject, Issue58Model, ListFieldsModel, CircularA, CircularB, CircularC
+from .forms import EchoForm, FormWithFileField
from test_project.apps.testapp import signals
class EntryHandler(BaseHandler):
--- ../python3/tests/bootstrap.py (original)
+++ ../python3/tests/bootstrap.py (refactored)
@@ -20,7 +20,7 @@
$Id$
"""
-import os, shutil, sys, tempfile, urllib2
+import os, shutil, sys, tempfile, urllib.request, urllib.error, urllib.parse
tmpeggs = tempfile.mkdtemp()
@@ -30,8 +30,8 @@
import pkg_resources
except ImportError:
ez = {}
- exec urllib2.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
- ).read() in ez
+ exec(urllib.request.urlopen('http://peak.telecommunity.com/dist/ez_setup.py'
+ ).read(), ez)
ez['use_setuptools'](to_dir=tmpeggs, download_delay=0)
import pkg_resources
--- ../python3/piston/validate_jsonp.py (original)
+++ ../python3/piston/validate_jsonp.py (refactored)
@@ -60,9 +60,9 @@
if not identifier:
return False
- if not isinstance(identifier, unicode):
+ if not isinstance(identifier, str):
try:
- identifier = unicode(identifier, 'utf-8')
+ identifier = str(identifier, 'utf-8')
except UnicodeDecodeError:
return False
@@ -76,12 +76,12 @@
if len(segment) < 4:
return False
try:
- add_char(unichr(int('0x' + segment[:4], 16)))
+ add_char(chr(int('0x' + segment[:4], 16)))
except Exception:
return False
add_char(segment[4:])
- identifier = u''.join(new)
+ identifier = ''.join(new)
if is_reserved_js_word(identifier):
return False
@@ -103,11 +103,11 @@
def is_valid_jsonp_callback_value(value):
"""Return whether the given ``value`` can be used as a JSON-P callback."""
- for identifier in value.split(u'.'):
+ for identifier in value.split('.'):
while '[' in identifier:
if not has_valid_array_index(identifier):
return False
- identifier = replace_array_index(u'', identifier)
+ identifier = replace_array_index('', identifier)
if not is_valid_javascript_identifier(identifier):
return False
@@ -140,16 +140,16 @@
>>> is_valid_javascript_identifier('$210')
True
- >>> is_valid_javascript_identifier(u'Stra\u00dfe')
- True
-
- >>> is_valid_javascript_identifier(r'\u0062') # u'b'
- True
-
- >>> is_valid_javascript_identifier(r'\u62')
- False
-
- >>> is_valid_javascript_identifier(r'\u0020')
+ >>> is_valid_jRefactoringTool: Refactored ../python3/piston/utils.py
RefactoringTool: Refactored ../python3/piston/tests.py
avascript_identifier(u'Stra\\u00dfe')
+ True
+
+ >>> is_valid_javascript_identifier(r'\\u0062') # u'b'
+ True
+
+ >>> is_valid_javascript_identifier(r'\\u62')
+ False
+
+ >>> is_valid_javascript_identifier(r'\\u0020')
False
>>> is_valid_javascript_identifier('_bar')
--- ../python3/piston/utils.py (original)
+++ ../python3/piston/utils.py (refactored)
@@ -10,7 +10,7 @@
from django.utils.translation import ugettext as _
from django.template import loader, TemplateDoesNotExist
from django.contrib.sites.models import Site
-from decorator import decorator
+from .decorator import decorator
from datetime import datetime, timedelta
@@ -20,7 +20,7 @@
return __version__
def format_error(error):
- return u"Piston/%s (Django %s) crash report:\n\n%s" % \
+ return "Piston/%s (Django %s) crash report:\n\n%s" % \
(get_version(), django_version(), error)
class rc_factory(object):
@@ -69,7 +69,7 @@
http://code.djangoproject.com/ticket/9403
"""
is_string = False
- if not isinstance(content, basestring) and hasattr(content, '__iter__'):
+ if not isinstance(content, str) and hasattr(content, '__iter__'):
self._container = content
else:
self._container = [content]
@@ -223,7 +223,7 @@
Gets a function ref to deserialize content
for a certain mimetype.
"""
- for loadee, mimes in Mimer.TYPES.iteritems():
+ for loadee, mimes in Mimer.TYPES.items():
for mime in mimes:
if ctype.startswith(mime):
return loadee
@@ -355,7 +355,7 @@
mail_admins(_(subject), body, fail_silently=True)
if settings.DEBUG and consumer.user:
- print "Mail being sent, to=%s" % consumer.user.email
- print "Subject: %s" % _(subject)
- print body
-
+ print("Mail being sent, to=%s" % consumer.user.email)
+ print("Subject: %s" % _(subject))
+ print(body)
+
--- ../python3/piston/tests.py (original)
+++ ../python3/piston/tests.py (refactored)
@@ -8,11 +8,11 @@
from django.utils import simplejson
# Piston imports
-from test import TestCase
-from models import Consumer
-from handler import BaseHandler
-from utils import rc
-from resource import Resource
+from .test import TestCase
+from .models import Consumer
+from .handler import BaseHandler
+from .utils import rc
+from .resource import Resource
class ConsumerTest(TestCase):
fixtures = ['models.json']
@@ -48,12 +48,12 @@
# If it's pending we should have two messages in the outbox; one
# to the consumer and one to the site admins.
if len(settings.ADMINS):
- self.assertEquals(len(mail.outbox), 2)
+ self.assertEqual(len(mail.outbox), 2)
else:
- self.assertEquals(len(mail.outbox), 1)
+ self.assertEqual(len(mail.outbox), 1)
expected = "Your API Consumer for example.com is awaiting approval."
- self.assertEquals(mail.outbox[0].subject, expected)
+ self.assertEqual(mail.outbox[0].subject, expected)
def test_delete_consumer(self):
""" Ensure deleting a Consumer sends a cancel email """
@@ -68,9 +68,9 @@
if not self._pre_test_email():
return
- self.assertEquals(len(mail.outbox), 1)
+ self.assertEqual(len(mail.outbox), 1)
expected = "Your API Consumer for example.com has been canceled."
- self.assertEquals(mail.outbox[0].subject, expected)
+ self.assertEqual(mail.outbox[0].subject, expected)
class CustomResponseWithStatusCodeTest(TestCase):
@@ -100,13 +100,13 @@
request.method = 'POST'
response = resource(request, emitter_format='json')
- self.assertEquals(201, response.status_code)
+ self.assertEqual(201, response.status_code)
is_string = (not response._base_content_is_iter) if django.VERSION >= (1,4) else response._is_string
- seRefactoringTool: Refactored ../python3/piston/test.py
RefactoringTool: Refactored ../python3/piston/store.py
RefactoringTool: Refactored ../python3/piston/signals.py
RefactoringTool: Refactored ../python3/piston/resource.py
lf.assert_(is_string, "Expected response content to be a string")
+ self.assertTrue(is_string, "Expected response content to be a string")
# compare the original data dict with the json response
# converted to a dict
- self.assertEquals(response_data, simplejson.loads(response.content))
+ self.assertEqual(response_data, simplejson.loads(response.content))
class ErrorHandlerTest(TestCase):
@@ -152,7 +152,7 @@
request.method = 'GET'
response = resource(request, emitter_format='json')
- self.assertEquals(401, response.status_code)
+ self.assertEqual(401, response.status_code)
# verify the content we got back can be converted back to json
# and examine the dictionary keys all exist as expected
--- ../python3/piston/test.py (original)
+++ ../python3/piston/test.py (refactored)
@@ -8,7 +8,7 @@
from piston.models import Consumer, Token
# 3rd/Python party imports
-import httplib2, urllib, cgi
+import httplib2, urllib.request, urllib.parse, urllib.error, cgi
URLENCODED_FORM_CONTENT = 'application/x-www-form-urlencoded'
--- ../python3/piston/store.py (original)
+++ ../python3/piston/store.py (refactored)
@@ -1,7 +1,7 @@
-import oauth
+from . import oauth
-from models import Nonce, Token, Consumer
-from models import generate_random, VERIFIER_SIZE
+from .models import Nonce, Token, Consumer
+from .models import generate_random, VERIFIER_SIZE
class DataStore(oauth.OAuthDataStore):
"""Layer between Python OAuth and Django database."""
--- ../python3/piston/signals.py (original)
+++ ../python3/piston/signals.py (refactored)
@@ -2,7 +2,7 @@
import django.dispatch
# Piston imports
-from utils import send_consumer_mail
+from .utils import send_consumer_mail
def consumer_post_save(sender, instance, created, **kwargs):
send_consumer_mail(instance)
--- ../python3/piston/resource.py (original)
+++ ../python3/piston/resource.py (refactored)
@@ -15,12 +15,12 @@
except ImportError:
mimeparse = None
-from emitters import Emitter
-from handler import typemapper
-from doc import HandlerMethod
-from authentication import NoAuthentication
-from utils import coerce_put_post, FormValidationError, HttpStatusCode
-from utils import rc, format_error, translate_mime, MimerDataException
+from .emitters import Emitter
+from .handler import typemapper
+from .doc import HandlerMethod
+from .authentication import NoAuthentication
+from .utils import coerce_put_post, FormValidationError, HttpStatusCode
+from .utils import rc, format_error, translate_mime, MimerDataException
CHALLENGE = object()
@@ -37,7 +37,7 @@
def __init__(self, handler, authentication=None):
if not callable(handler):
- raise AttributeError, "Handler not callable."
+ raise AttributeError("Handler not callable.")
self.handler = handler()
self.csrf_exempt = getattr(self.handler, 'csrf_exempt', True)
@@ -74,7 +74,7 @@
if mimeparse and 'HTTP_ACCEPT' in request.META:
supported_mime_types = set()
emitter_map = {}
- for name, (klass, content_type) in Emitter.EMITTERS.items():
+ for name, (klass, content_type) in list(Emitter.EMITTERS.items()):
content_type_without_encoding = content_type.split(';')[0]
supported_mime_types.add(content_type_without_encoding)
emitter_map[content_type_without_encoding] = name
@@ -90,7 +90,7 @@
`Resource` subclass.
"""
resp = rc.BAD_REQUEST
- resp.write(u' '+unicode(e.form.errors))
+ resp.write(' '+str(e.form.errors))
return resp
@property
@@ -107,7 +107,7 @@
if callable(anon):
return anon
- for klass in typemapper.keys():
+ for klass in list(typemapper.keys()):
if anon == klass.__name__:
return klass
@@ -186,7 +186,7 @@
try:
result = meth(request, *args, **kwargs)
- except ExceptRefactoringTool: Refactored ../python3/piston/oauth.py
ion, e:
+ except Exception as e:
result = self.error_handler(e, request, meth, em_format)
try:
@@ -234,7 +234,7 @@
resp.streaming = self.stream
return resp
- except HttpStatusCode, e:
+ except HttpStatusCode as e:
return e.response
@staticmethod
@@ -256,10 +256,10 @@
for method_type in ('GET', 'PUT', 'POST', 'DELETE'):
block = getattr(request, method_type, { })
- if True in [ k.startswith("oauth_") for k in block.keys() ]:
+ if True in [ k.startswith("oauth_") for k in list(block.keys()) ]:
sanitized = block.copy()
- for k in sanitized.keys():
+ for k in list(sanitized.keys()):
if k.startswith("oauth_"):
sanitized.pop(k)
--- ../python3/piston/oauth.py (original)
+++ ../python3/piston/oauth.py (refactored)
@@ -23,10 +23,10 @@
"""
import cgi
-import urllib
+import urllib.request, urllib.parse, urllib.error
import time
import random
-import urlparse
+import urllib.parse
import hmac
import binascii
@@ -47,11 +47,11 @@
def escape(s):
"""Escape a URL including any /."""
- return urllib.quote(s, safe='~')
+ return urllib.parse.quote(s, safe='~')
def _utf8_str(s):
"""Convert unicode to utf-8."""
- if isinstance(s, unicode):
+ if isinstance(s, str):
return s.encode("utf-8")
else:
return str(s)
@@ -115,13 +115,13 @@
def get_callback_url(self):
if self.callback and self.verifier:
# Append the oauth_verifier.
- parts = urlparse.urlparse(self.callback)
+ parts = urllib.parse.urlparse(self.callback)
scheme, netloc, path, params, query, fragment = parts[:6]
if query:
query = '%s&oauth_verifier=%s' % (query, self.verifier)
else:
query = 'oauth_verifier=%s' % self.verifier
- return urlparse.urlunparse((scheme, netloc, path, params,
+ return urllib.parse.urlunparse((scheme, netloc, path, params,
query, fragment))
return self.callback
@@ -132,7 +132,7 @@
}
if self.callback_confirmed is not None:
data['oauth_callback_confirmed'] = self.callback_confirmed
- return urllib.urlencode(data)
+ return urllib.parse.urlencode(data)
def from_string(s):
""" Returns a token from something like:
@@ -193,7 +193,7 @@
def get_nonoauth_parameters(self):
"""Get any non-OAuth parameters."""
parameters = {}
- for k, v in self.parameters.iteritems():
+ for k, v in self.parameters.items():
# Ignore oauth parameters.
if k.find('oauth_') < 0:
parameters[k] = v
@@ -204,7 +204,7 @@
auth_header = 'OAuth realm="%s"' % realm
# Add the oauth parameters.
if self.parameters:
- for k, v in self.parameters.iteritems():
+ for k, v in self.parameters.items():
if k[:6] == 'oauth_':
auth_header += ', %s="%s"' % (k, escape(str(v)))
return {'Authorization': auth_header}
@@ -212,7 +212,7 @@
def to_postdata(self):
"""Serialize as post data for a POST request."""
return '&'.join(['%s=%s' % (escape(str(k)), escape(str(v))) \
- for k, v in self.parameters.iteritems()])
+ for k, v in self.parameters.items()])
def to_url(self):
"""Serialize as a URL for a GET request."""
@@ -228,7 +228,7 @@
pass
# Escape key values before sorting.
key_values = [(escape(_utf8_str(k)), escape(_utf8_str(v))) \
- for k,v in params.items()]
+ for k,v in list(params.items())]
# Sort lexicographically, first after key, then after value.
key_values.sort()
# Combine key value pairs into a string.
@@ -240,7 +240,7 @@
def get_normalized_http_url(self):
"""Parses the RefactoringTool: Refactored ../python3/piston/models.py
URL and rebuilds it to be scheme://host/path."""
- parts = urlparse.urlparse(self.http_url)
+ parts = urllib.parse.urlparse(self.http_url)
scheme, netloc, path = parts[:3]
# Exclude default port numbers.
if scheme == 'http' and netloc[-3:] == ':80':
@@ -288,7 +288,7 @@
parameters.update(query_params)
# URL parameters.
- param_str = urlparse.urlparse(http_url)[4] # query
+ param_str = urllib.parse.urlparse(http_url)[4] # query
url_params = OAuthRequest._split_url_string(param_str)
parameters.update(url_params)
@@ -352,15 +352,15 @@
# Split key-value.
param_parts = param.split('=', 1)
# Remove quotes and unescape the value.
- params[param_parts[0]] = urllib.unquote(param_parts[1].strip('\"'))
+ params[param_parts[0]] = urllib.parse.unquote(param_parts[1].strip('\"'))
return params
_split_header = staticmethod(_split_header)
def _split_url_string(param_str):
"""Turn URL string into parameters."""
parameters = cgi.parse_qs(param_str, keep_blank_values=False)
- for k, v in parameters.iteritems():
- parameters[k] = urllib.unquote(v[0])
+ for k, v in parameters.items():
+ parameters[k] = urllib.parse.unquote(v[0])
return parameters
_split_url_string = staticmethod(_split_url_string)
@@ -462,7 +462,7 @@
# Get the signature method object.
signature_method = self.signature_methods[signature_method]
except:
- signature_method_names = ', '.join(self.signature_methods.keys())
+ signature_method_names = ', '.join(list(self.signature_methods.keys()))
raise OAuthError('Signature method %s not supported try one of the '
'following: %s' % (signature_method, signature_method_names))
--- ../python3/piston/models.py (original)
+++ ../python3/piston/models.py (refactored)
@@ -1,4 +1,4 @@
-import urllib, time, urlparse
+import urllib.request, urllib.parse, urllib.error, time, urllib.parse
# Django imports
from django.db.models.signals import post_save, post_delete
@@ -7,8 +7,8 @@
from django.core.mail import send_mail, mail_admins
# Piston imports
-from managers import TokenManager, ConsumerManager, ResourceManager
-from signals import consumer_post_save, consumer_post_delete
+from .managers import TokenManager, ConsumerManager, ResourceManager
+from .signals import consumer_post_save, consumer_post_delete
KEY_SIZE = 18
SECRET_SIZE = 32
@@ -30,7 +30,7 @@
key = models.CharField(max_length=255)
def __unicode__(self):
- return u"Nonce %s for %s" % (self.key, self.consumer_key)
+ return "Nonce %s for %s" % (self.key, self.consumer_key)
class Consumer(models.Model):
@@ -46,7 +46,7 @@
objects = ConsumerManager()
def __unicode__(self):
- return u"Consumer %s with key %s" % (self.name, self.key)
+ return "Consumer %s with key %s" % (self.name, self.key)
def generate_random_codes(self):
"""
@@ -73,13 +73,13 @@
class Token(models.Model):
REQUEST = 1
ACCESS = 2
- TOKEN_TYPES = ((REQUEST, u'Request'), (ACCESS, u'Access'))
+ TOKEN_TYPES = ((REQUEST, 'Request'), (ACCESS, 'Access'))
key = models.CharField(max_length=KEY_SIZE)
secret = models.CharField(max_length=SECRET_SIZE)
verifier = models.CharField(max_length=VERIFIER_SIZE)
token_type = models.IntegerField(choices=TOKEN_TYPES)
- timestamp = models.IntegerField(default=long(time.time()))
+ timestamp = models.IntegerField(default=int(time.time()))
is_approved = models.BooleanField(default=False)
user = models.ForeignKey(User, null=True, blank=True, related_name='tokens')
@@ -91,7 +91,7 @@
objects = TokenManager()
def __unicode__(self):
- return u"%s Token %s for %s" % (self.get_token_type_display(), self.key, self.consumer)
+ return "%s Token %s for %s" % (self.get_token_type_display(RefactoringTool: No changes to ../python3/piston/middleware.py
RefactoringTool: No changes to ../python3/piston/managers.py
RefactoringTool: No changes to ../python3/piston/handlers_doc.py
RefactoringTool: Refactored ../python3/piston/handler.py
RefactoringTool: Refactored ../python3/piston/forms.py
RefactoringTool: Refactored ../python3/piston/emitters.py
), self.key, self.consumer)
def to_string(self, only_key=False):
token_dict = {
@@ -106,7 +106,7 @@
if only_key:
del token_dict['oauth_token_secret']
- return urllib.urlencode(token_dict)
+ return urllib.parse.urlencode(token_dict)
def generate_random_codes(self):
key = User.objects.make_random_password(length=KEY_SIZE)
@@ -124,13 +124,13 @@
def get_callback_url(self):
if self.callback and self.verifier:
# Append the oauth_verifier.
- parts = urlparse.urlparse(self.callback)
+ parts = urllib.parse.urlparse(self.callback)
scheme, netloc, path, params, query, fragment = parts[:6]
if query:
query = '%s&oauth_verifier=%s' % (query, self.verifier)
else:
query = 'oauth_verifier=%s' % self.verifier
- return urlparse.urlunparse((scheme, netloc, path, params,
+ return urllib.parse.urlunparse((scheme, netloc, path, params,
query, fragment))
return self.callback
--- ../python3/piston/handler.py (original)
+++ ../python3/piston/handler.py (refactored)
@@ -1,6 +1,6 @@
import warnings
-from utils import rc
+from .utils import rc
from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned
from django.conf import settings
@@ -16,7 +16,7 @@
new_cls = type.__new__(cls, name, bases, attrs)
def already_registered(model, anon):
- for k, (m, a) in typemapper.iteritems():
+ for k, (m, a) in typemapper.items():
if model == m and anon == a:
return k
@@ -35,7 +35,7 @@
return new_cls
-class BaseHandler(object):
+class BaseHandler(object, metaclass=HandlerMetaClass):
"""
Basehandler that gives you CRUD for free.
You are supposed to subclass this for specific
@@ -45,7 +45,6 @@
receive a request as the first argument from the
resource. Use this for checking `request.user`, etc.
"""
- __metaclass__ = HandlerMetaClass
allowed_methods = ('GET', 'POST', 'PUT', 'DELETE')
anonymous = is_anonymous = False
@@ -53,7 +52,7 @@
fields = ( )
def flatten_dict(self, dct):
- return dict([ (str(k), dct.get(k)) for k in dct.keys() ])
+ return dict([ (str(k), dct.get(k)) for k in list(dct.keys()) ])
def has_model(self):
return hasattr(self, 'model') or hasattr(self, 'queryset')
@@ -127,7 +126,7 @@
return rc.BAD_REQUEST
attrs = self.flatten_dict(request.data)
- for k,v in attrs.iteritems():
+ for k,v in attrs.items():
setattr( inst, k, v )
inst.save()
--- ../python3/piston/forms.py (original)
+++ ../python3/piston/forms.py (refactored)
@@ -16,7 +16,7 @@
"""
def merge_from_initial(self):
self.data._mutable = True
- filt = lambda v: v not in self.data.keys()
+ filt = lambda v: v not in list(self.data.keys())
for field in filter(filt, getattr(self.Meta, 'fields', ())):
self.data[field] = self.initial.get(field, None)
--- ../python3/piston/emitters.py (original)
+++ ../python3/piston/emitters.py (refactored)
@@ -1,4 +1,4 @@
-from __future__ import generators
+
import decimal, re, inspect
import copy
@@ -30,16 +30,16 @@
from django.http import HttpResponse
from django.core import serializers
-from utils import HttpStatusCode, Mimer
-from validate_jsonp import is_valid_jsonp_callback_value
+from .utils import HttpStatusCode, Mimer
+from .validate_jsonp import is_valid_jsonp_callback_value
try:
- import cStringIO as StringIO
+ import io as StringIO
except ImportError:
- import StringIO
+ import io
try:
- import cPickle as pickle
+ import pickle as pickle
except ImportError:
import pickle
@@ -106,7 +106,7 @@
# relationships
if thing in self.stack:
- raise RuntimeError, (u'Circular reference detected while emitting '
+ RefactoringTool: Refactored ../python3/piston/doc.py
RefactoringTool: Refactored ../python3/piston/decorator.py
raise RuntimeError('Circular reference detected while emitting '
'response')
self.stack.append(thing)
@@ -199,7 +199,7 @@
# sets can be negated.
for exclude in exclude_fields:
- if isinstance(exclude, basestring):
+ if isinstance(exclude, str):
get_fields.discard(exclude)
elif isinstance(exclude, re._pattern_type):
@@ -268,7 +268,7 @@
for f in data._meta.fields:
ret[f.attname] = _any(getattr(data, f.attname))
- fields = dir(data.__class__) + ret.keys()
+ fields = dir(data.__class__) + list(ret.keys())
add_ons = [k for k in dir(data) if k not in fields]
for k in add_ons:
@@ -282,7 +282,7 @@
try:
ret['resource_uri'] = reverser( lambda: (url_id, fields) )()
- except NoReverseMatch, e:
+ except NoReverseMatch as e:
pass
if hasattr(data, 'get_api_url') and 'resource_uri' not in ret:
@@ -312,14 +312,14 @@
"""
Dictionaries.
"""
- return dict([ (k, _any(v, fields)) for k, v in data.iteritems() ])
+ return dict([ (k, _any(v, fields)) for k, v in data.items() ])
# Kickstart the seralizin'.
self.stack = [];
return _any(self.data, self.fields)
def in_typemapper(self, model, anonymous):
- for klass, (km, is_anon) in self.typemapper.iteritems():
+ for klass, (km, is_anon) in self.typemapper.items():
if model is km and is_anon is anonymous:
return klass
@@ -344,7 +344,7 @@
"""
Gets an emitter, returns the class and a content-type.
"""
- if cls.EMITTERS.has_key(format):
+ if format in cls.EMITTERS:
return cls.EMITTERS.get(format)
raise ValueError("No emitters found for type %s" % format)
@@ -377,7 +377,7 @@
self._to_xml(xml, item)
xml.endElement("resource")
elif isinstance(data, dict):
- for key, value in data.iteritems():
+ for key, value in data.items():
xml.startElement(key, {})
self._to_xml(xml, value)
xml.endElement(key)
@@ -385,7 +385,7 @@
xml.characters(smart_unicode(data))
def render(self, request):
- stream = StringIO.StringIO()
+ stream = io.StringIO()
xml = SimplerXMLGenerator(stream, "utf-8")
xml.startDocument()
--- ../python3/piston/doc.py (original)
+++ ../python3/piston/doc.py (refactored)
@@ -89,7 +89,7 @@
if not met:
continue
- stale = inspect.getmodule(met.im_func) is not inspect.getmodule(self.handler)
+ stale = inspect.getmodule(met.__func__) is not inspect.getmodule(self.handler)
if not self.handler.is_anonymous:
if met and (not stale or include_default):
@@ -140,7 +140,7 @@
def _convert(template, params=[]):
"""URI template converter"""
paths = template % dict([p, "{%s}" % p] for p in params)
- return u'%s%s' % (get_script_prefix(), paths)
+ return '%s%s' % (get_script_prefix(), paths)
try:
resource_uri = self.handler.resource_uri()
@@ -171,7 +171,7 @@
resource_uri_template = property(get_resource_uri_template)
def __repr__(self):
- return u'' % self.name
+ return '' % self.name
def documentation_view(request):
"""
--- ../python3/piston/decorator.py (original)
+++ ../python3/piston/decorator.py (refactored)
@@ -54,9 +54,9 @@
signature = inspect.formatargspec(regargs, varargs, varkwargs, defaults,
formatvalRefactoringTool: Refactored ../python3/piston/authentication.py
ue=lambda value: "")[1:-1]
return dict(name=func.__name__, argnames=argnames, signature=signature,
- defaults = func.func_defaults, doc=func.__doc__,
+ defaults = func.__defaults__, doc=func.__doc__,
module=func.__module__, dict=func.__dict__,
- globals=func.func_globals, closure=func.func_closure)
+ globals=func.__globals__, closure=func.__closure__)
# akin to functools.update_wrapper
def update_wrapper(wrapper, model, infodict=None):
@@ -68,7 +68,7 @@
wrapper.__doc__ = infodict['doc']
wrapper.__module__ = infodict['module']
wrapper.__dict__.update(infodict['dict'])
- wrapper.func_defaults = infodict['defaults']
+ wrapper.__defaults__ = infodict['defaults']
wrapper.undecorated = model
return wrapper
--- ../python3/piston/authentication.py (original)
+++ ../python3/piston/authentication.py (refactored)
@@ -1,6 +1,6 @@
import binascii
-import oauth
+from . import oauth
from django.http import HttpResponse, HttpResponseRedirect
from django.contrib.auth.models import User, AnonymousUser
from django.contrib.auth.decorators import login_required
@@ -70,7 +70,7 @@
return resp
def __repr__(self):
- return u'' % self.realm
+ return '' % self.realm
class HttpBasicSimple(HttpBasicAuthentication):
def __init__(self, realm, username, password):
@@ -94,13 +94,13 @@
try:
mod = __import__(module, {}, {}, attr)
- except ImportError, e:
- raise ImproperlyConfigured, 'Error importing OAuth data store %s: "%s"' % (module, e)
+ except ImportError as e:
+ raise ImproperlyConfigured('Error importing OAuth data store %s: "%s"' % (module, e))
try:
cls = getattr(mod, attr)
except AttributeError:
- raise ImproperlyConfigured, 'Module %s does not define a "%s" OAuth data store' % (module, attr)
+ raise ImproperlyConfigured('Module %s does not define a "%s" OAuth data store' % (module, attr))
return cls
@@ -113,7 +113,7 @@
"""
if request.method == "POST": #and \
# request.META['CONTENT_TYPE'] == "application/x-www-form-urlencoded":
- params = dict(request.REQUEST.items())
+ params = dict(list(request.REQUEST.items()))
else:
params = { }
@@ -145,7 +145,7 @@
realm = 'OAuth'
header = oauth.build_authenticate_header(realm=realm)
- for k, v in header.iteritems():
+ for k, v in header.items():
response[k] = v
return response
@@ -159,7 +159,7 @@
token = oauth_server.fetch_request_token(oauth_request)
response = HttpResponse(token.to_string())
- except oauth.OAuthError, err:
+ except oauth.OAuthError as err:
response = send_oauth_error(err)
return response
@@ -182,7 +182,7 @@
try:
token = oauth_server.fetch_request_token(oauth_request)
- except oauth.OAuthError, err:
+ except oauth.OAuthError as err:
return send_oauth_error(err)
try:
@@ -206,7 +206,7 @@
args = '?'+token.to_string(only_key=True)
else:
args = '?error=%s' % 'Access not granted by user.'
- print "FORM ERROR", form.errors
+ print("FORM ERROR", form.errors)
if not callback:
callback = getattr(settings, 'OAUTH_CALLBACK_VIEW')
@@ -214,7 +214,7 @@
response = HttpResponseRedirect(callback+args)
- except oauth.OAuthError, err:
+ except oauth.OAuthError as err:
response = send_oauth_error(err)
else:
response = HttpResponse('Action not allowed.')
@@ -230,7 +230,7 @@
try:
token = oauth_server.fetch_access_token(oauth_request)
return HttpResponse(token.to_string())
- except oauth.OAuthError, err:
+ except oauth.OAuthError as err:
return send_oauth_error(err)
INVALID_PARAMS_RESPONSE = send_oauth_error(oauRefactoringTool: No changes to ../python3/piston/__init__.py
RefactoringTool: Refactored ../python3/ez_setup.py
th.OAuthError('Invalid request parameters.'))
@@ -254,8 +254,8 @@
if self.is_valid_request(request):
try:
consumer, token, parameters = self.validate_token(request)
- except oauth.OAuthError, err:
- print send_oauth_error(err)
+ except oauth.OAuthError as err:
+ print(send_oauth_error(err))
return False
if consumer and token:
@@ -281,7 +281,7 @@
response.status_code = 401
realm = 'API'
- for k, v in self.builder(realm=realm).iteritems():
+ for k, v in self.builder(realm=realm).items():
response[k] = v
tmpl = loader.render_to_string('oauth/challenge.html',
--- ../python3/ez_setup.py (original)
+++ ../python3/ez_setup.py (refactored)
@@ -62,10 +62,10 @@
if egg_name in md5_data:
digest = md5(data).hexdigest()
if digest != md5_data[egg_name]:
- print >>sys.stderr, (
+ print((
"md5 validation of %s failed! (Possible download problem?)"
% egg_name
- )
+ ), file=sys.stderr)
sys.exit(2)
return data
@@ -95,14 +95,14 @@
return do_download()
try:
pkg_resources.require("setuptools>="+version); return
- except pkg_resources.VersionConflict, e:
+ except pkg_resources.VersionConflict as e:
if was_imported:
- print >>sys.stderr, (
+ print((
"The required version of setuptools (>=%s) is not available, and\n"
"can't be installed while this script is running. Please install\n"
" a more recent version first, using 'easy_install -U setuptools'."
"\n\n(Currently using %r)"
- ) % (version, e.args[0])
+ ) % (version, e.args[0]), file=sys.stderr)
sys.exit(2)
else:
del pkg_resources, sys.modules['pkg_resources'] # reload ok
@@ -121,7 +121,7 @@
with a '/'). `to_dir` is the directory where the egg will be downloaded.
`delay` is the number of seconds to pause before an actual download attempt.
"""
- import urllib2, shutil
+ import urllib.request, urllib.error, urllib.parse, shutil
egg_name = "setuptools-%s-py%s.egg" % (version,sys.version[:3])
url = download_base + egg_name
saveto = os.path.join(to_dir, egg_name)
@@ -147,7 +147,7 @@
version, download_base, delay, url
); from time import sleep; sleep(delay)
log.warn("Downloading %s", url)
- src = urllib2.urlopen(url)
+ src = urllib.request.urlopen(url)
# Read/write all in one block, so we don't create a corrupt file
# if the download is interrupted.
data = _validate_md5(egg_name, src.read())
@@ -208,10 +208,10 @@
os.unlink(egg)
else:
if setuptools.__version__ == '0.0.1':
- print >>sys.stderr, (
+ print((
"You have an obsolete version of setuptools installed. Please\n"
"remove it from your system entirely before rerunning this script."
- )
+ ), file=sys.stderr)
sys.exit(2)
req = "setuptools>="+version
@@ -230,8 +230,8 @@
from setuptools.command.easy_install import main
main(argv)
else:
- print "Setuptools version",version,"or greater has been installed."
- print '(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)'
+ print("Setuptools version",version,"or greater has been installed.")
+ print('(Run "ez_setup.py -U setuptools" to reinstall or upgrade.)')
def update_md5(filenames):
"""Update our built-in md5 registry"""
@@ -244,7 +244,7 @@
md5_data[base] = md5(f.read()).hexdigest()
f.close()
- data = [" %r: %r,\n" % it for it in md5_data.items()]
+ data = [" %r: %r,\n" % it for it in list(md5_data.items())]
data.sort()
repl = "".joiRefactoringTool: No changes to ../python3/examples/blogserver/urls.py
RefactoringTool: No changes to ../python3/examples/blogserver/settings.py
RefactoringTool: Refactored ../python3/examples/blogserver/manage.py
RefactoringTool: No changes to ../python3/examples/blogserver/blog/views.py
RefactoringTool: No changes to ../python3/examples/blogserver/blog/urls.py
RefactoringTool: No changes to ../python3/examples/blogserver/blog/models.py
RefactoringTool: No changes to ../python3/examples/blogserver/api/urls.py
RefactoringTool: No changes to ../python3/examples/blogserver/api/handlers.py
RefactoringTool: Files that were modified:
RefactoringTool: ../python3/tests/test_project/urls.py
RefactoringTool: ../python3/tests/test_project/settings.py
RefactoringTool: ../python3/tests/test_project/apps/testapp/urls.py
RefactoringTool: ../python3/tests/test_project/apps/testapp/tests.py
RefactoringTool: ../python3/tests/test_project/apps/testapp/signals.py
RefactoringTool: ../python3/tests/test_project/apps/testapp/models.py
RefactoringTool: ../python3/tests/test_project/apps/testapp/handlers.py
RefactoringTool: ../python3/tests/bootstrap.py
RefactoringTool: ../python3/setup.py
RefactoringTool: ../python3/piston/validate_jsonp.py
RefactoringTool: ../python3/piston/utils.py
RefactoringTool: ../python3/piston/tests.py
RefactoringTool: ../python3/piston/test.py
RefactoringTool: ../python3/piston/store.py
RefactoringTool: ../python3/piston/signals.py
RefactoringTool: ../python3/piston/resource.py
RefactoringTool: ../python3/piston/oauth.py
RefactoringTool: ../python3/piston/models.py
RefactoringTool: ../python3/piston/middleware.py
RefactoringTool: ../python3/piston/managers.py
RefactoringTool: ../python3/piston/handlers_doc.py
RefactoringTool: ../python3/piston/handler.py
RefactoringTool: ../python3/piston/forms.py
RefactoringTool: ../python3/piston/emitters.py
RefactoringTool: ../python3/piston/doc.py
RefactoringTool: ../python3/piston/decorator.py
RefactoringTool: ../python3/piston/authentication.py
RefactoringTool: ../python3/piston/__init__.py
RefactoringTool: ../python3/ez_setup.py
RefactoringTool: ../python3/examples/blogserver/urls.py
RefactoringTool: ../python3/examples/blogserver/settings.py
RefactoringTool: ../python3/examples/blogserver/manage.py
RefactoringTool: ../python3/examples/blogserver/blog/views.py
RefactoringTool: ../python3/examples/blogserver/blog/urls.py
RefactoringTool: ../python3/examples/blogserver/blog/models.py
RefactoringTool: ../python3/examples/blogserver/api/urls.py
RefactoringTool: ../python3/examples/blogserver/api/handlers.py
RefactoringTool: Warnings/messages while refactoring:
RefactoringTool: ### In file ../python3/piston/doc.py ###
RefactoringTool: Line 1: absolute and local imports together
n(data)
@@ -254,7 +254,7 @@
match = re.search("\nmd5_data = {\n([^}]+)}", src)
if not match:
- print >>sys.stderr, "Internal error!"
+ print("Internal error!", file=sys.stderr)
sys.exit(2)
src = src[:match.start(1)] + repl + src[match.end(1):]
--- ../python3/examples/blogserver/manage.py (original)
+++ ../python3/examples/blogserver/manage.py (refactored)
@@ -1,7 +1,7 @@
#!/usr/bin/env python
from django.core.management import execute_manager
try:
- import settings # Assumed to be in the same directory.
+ from . import settings # Assumed to be in the same directory.
except ImportError:
import sys
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__)
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.70710
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd django-piston-0.2.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python2.7 setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/piston
copying piston/validate_jsonp.py -> build/lib/piston
copying piston/utils.py -> build/lib/piston
copying piston/tests.py -> build/lib/piston
copying piston/test.py -> build/lib/piston
copying piston/store.py -> build/lib/piston
copying piston/signals.py -> build/lib/piston
copying piston/resource.py -> build/lib/piston
copying piston/oauth.py -> build/lib/piston
copying piston/models.py -> build/lib/piston
copying piston/middleware.py -> build/lib/piston
copying piston/managers.py -> build/lib/piston
copying piston/handlers_doc.py -> build/lib/piston
copying piston/handler.py -> build/lib/piston
copying piston/forms.py -> build/lib/piston
copying piston/emitters.py -> build/lib/piston
copying piston/doc.py -> build/lib/piston
copying piston/decorator.py -> build/lib/piston
copying piston/authentication.py -> build/lib/piston
copying piston/admin.py -> build/lib/piston
copying piston/__init__.py -> build/lib/piston
running egg_info
creating django_piston.egg-info
writing django_piston.egg-info/PKG-INFO
writing namespace_packages to django_piston.egg-info/namespace_packages.txt
writing top-level names to django_piston.egg-info/top_level.txt
writing dependency_links to django_piston.egg-info/dependency_links.txt
writing manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_piston.egg-info/SOURCES.txt'
creating build/lib/piston/templates
copying piston/templates/documentation.html -> build/lib/piston/templates
creating build/lib/piston/templates/piston
copying piston/templates/piston/authorize_token.html -> build/lib/piston/templates/piston
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/django-piston-0.2.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python3 setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/piston
copying piston/validate_jsonp.py -> build/lib/piston
copying piston/utils.py -> build/lib/piston
copying piston/tests.py -> build/lib/piston
copying piston/test.py -> build/lib/piston
copying piston/store.py -> build/lib/piston
copying piston/signals.py -> build/lib/piston
copying piston/resource.py -> build/lib/piston
copying piston/oauth.py -> build/lib/piston
copying piston/models.py -> build/lib/piston
copying piston/middleware.py -> build/lib/piston
copying piston/managers.py -> build/lib/piston
copying piston/handlers_doc.py -> build/lib/piston
copying piston/handler.py -> build/lib/piston
copying piston/forms.py -> build/lib/piston
copying piston/emitters.py -> build/lib/piston
copying piston/doc.py -> build/lib/piston
copying piston/decorator.py -> build/lib/piston
copying piston/authentication.py -> build/lib/piston
copying piston/admin.py -> build/lib/piston
copying piston/__init__.py -> build/lib/piston
running egg_info
creating django_piston.egg-info
writing django_piston.egg-info/PKG-INFO
writing dependency_links to django_piston.egg-info/dependency_links.txt
writing namespace_packages to django_piston.egg-info/namespace_packages.txt
writing top-level names to django_piston.egg-info/top_level.txt
writing manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_piston.egg-info/SOURCES.txt'
creating build/lib/piston/templates
copying piston/templates/documentation.html -> build/lib/piston/templates
creating build/lib/piston/templates/piston
copying piston/templates/piston/authorize_token.html -> build/lib/piston/templates/piston
+ popd
~/RPM/BUILD/django-piston-0.2.3
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.66412
+ 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-piston-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/python-module-django-piston-buildroot
+ cd django-piston-0.2.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python2.7 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-piston-buildroot --force
running install
running install_lib
Skipping installation of /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py (namespace package)
copying piston/admin.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/authentication.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/decorator.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/doc.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/emitters.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/forms.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/handler.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/handlers_doc.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/managers.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/middleware.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/models.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/oauth.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/resource.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/signals.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/store.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/test.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/tests.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/utils.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/validate_jsonp.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston
copying piston/templates/documentation.html -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/templates
copying piston/templates/piston/authorize_token.html -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/templates/piston
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/admin.py to admin.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.py to authentication.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py to decorator.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py to doc.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py to emitters.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.py to forms.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handler.py to handler.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.py to handlers_doc.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/managers.py to managers.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/middleware.py to middleware.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.py to models.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.py to oauth.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py to resource.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/signals.py to signals.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py to store.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.py to test.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py to tests.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/utils.py to utils.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/validate_jsonp.py to validate_jsonp.pyc
running install_egg_info
running egg_info
writing django_piston.egg-info/PKG-INFO
writing namespace_packages to django_piston.egg-info/namespace_packages.txt
writing top-level names to django_piston.egg-info/top_level.txt
writing dependency_links to django_piston.egg-info/dependency_links.txt
reading manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_piston.egg-info/SOURCES.txt'
Copying django_piston.egg-info to /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/django_piston-0.2.3-py2.7.egg-info
Installing /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/django_piston-0.2.3-py2.7-nspkg.pth
running install_scripts
+ cp piston/__init__.py /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/
+ pushd ../python3
~/RPM/BUILD/python3 ~/RPM/BUILD/django-piston-0.2.3
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2'
+ export FFLAGS
+ /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-django-piston-buildroot --force
running install
running install_lib
Skipping installation of /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py (namespace package)
copying piston/admin.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/authentication.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/decorator.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/doc.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/emitters.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/forms.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/handler.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/handlers_doc.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/managers.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/middleware.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/models.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/oauth.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/resource.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/signals.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/store.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/test.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/tests.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/utils.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/validate_jsonp.py -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston
copying piston/templates/documentation.html -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/templates
copying piston/templates/piston/authorize_token.html -> /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/templates/piston
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/admin.py to admin.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py to authentication.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py to decorator.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/doc.py to doc.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py to emitters.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py to forms.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handler.py to handler.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py to handlers_doc.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/managers.py to managers.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/middleware.py to middleware.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py to models.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py to oauth.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py to resource.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/signals.py to signals.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py to store.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/test.py to test.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py to tests.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py to utils.cpython-37.pyc
byte-compiling /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/validate_jsonp.py to validate_jsonp.cpython-37.pyc
running install_egg_info
running egg_info
writing django_piston.egg-info/PKG-INFO
writing dependency_links to django_piston.egg-info/dependency_links.txt
writing namespace_packages to django_piston.egg-info/namespace_packages.txt
writing top-level names to django_piston.egg-info/top_level.txt
reading manifest file 'django_piston.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'django_piston.egg-info/SOURCES.txt'
Copying django_piston.egg-info to /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/django_piston-0.2.3-py3.7.egg-info
Installing /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/django_piston-0.2.3-py3.7-nspkg.pth
running install_scripts
+ cp piston/__init__.py /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/
+ popd
~/RPM/BUILD/django-piston-0.2.3
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/python-module-django-piston-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/python-module-django-piston-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/python-module-django-piston-buildroot/ (default)
Compressing files in /usr/src/tmp/python-module-django-piston-buildroot (auto)
Adjusting library links in /usr/src/tmp/python-module-django-piston-buildroot
./usr/lib:
Verifying ELF objects in /usr/src/tmp/python-module-django-piston-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-piston-buildroot using /usr/bin/python2.7
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/admin.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handler.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/managers.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/middleware.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/signals.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/utils.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/validate_jsonp.pyc
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/admin.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handler.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/managers.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/middleware.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/signals.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/utils.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/validate_jsonp.py
Bytecompiling python modules with optimization in /usr/src/tmp/python-module-django-piston-buildroot using /usr/bin/python2.7 -O
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/admin.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handler.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/managers.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/middleware.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/signals.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/utils.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/validate_jsonp.py
Bytecompiling python3 modules in /usr/src/tmp/python-module-django-piston-buildroot using /usr/bin/python3
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/admin.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/authentication.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/decorator.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/doc.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/emitters.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/forms.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/handler.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/handlers_doc.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/managers.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/middleware.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/models.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/oauth.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/resource.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/signals.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/store.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/test.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/tests.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/utils.cpython-37.pyc
unlink /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__pycache__/validate_jsonp.cpython-37.pyc
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/admin.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handler.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/managers.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/middleware.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/signals.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/test.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/validate_jsonp.py
Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-django-piston-buildroot using /usr/bin/python3 -O
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/admin.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handler.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/managers.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/middleware.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/signals.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/test.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/validate_jsonp.py
Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-django-piston-buildroot using /usr/bin/python3 -OO
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/admin.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handler.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/managers.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/middleware.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/signals.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/test.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py
compile /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/validate_jsonp.py
Hardlinking identical .pyc and .opt-?.pyc files
'./usr/lib/python3/site-packages/piston/__pycache__/validate_jsonp.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/validate_jsonp.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/utils.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/utils.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/tests.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/tests.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/test.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/test.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/store.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/store.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/signals.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/signals.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/signals.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/signals.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/resource.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/resource.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/oauth.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/oauth.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/models.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/models.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/middleware.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/middleware.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/managers.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/managers.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/handlers_doc.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/handlers_doc.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/handlers_doc.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/handlers_doc.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/handler.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/handler.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/forms.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/forms.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/emitters.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/emitters.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/doc.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/doc.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/authentication.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/authentication.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/admin.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/admin.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/admin.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/admin.cpython-37.opt-1.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/__init__.cpython-37.pyc'
'./usr/lib/python3/site-packages/piston/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/piston/__pycache__/__init__.cpython-37.opt-1.pyc'
Hardlinking identical .pyc and .pyo files
'./usr/lib/python2.7/site-packages/piston/validate_jsonp.pyo' => './usr/lib/python2.7/site-packages/piston/validate_jsonp.pyc'
'./usr/lib/python2.7/site-packages/piston/utils.pyo' => './usr/lib/python2.7/site-packages/piston/utils.pyc'
'./usr/lib/python2.7/site-packages/piston/tests.pyo' => './usr/lib/python2.7/site-packages/piston/tests.pyc'
'./usr/lib/python2.7/site-packages/piston/test.pyo' => './usr/lib/python2.7/site-packages/piston/test.pyc'
'./usr/lib/python2.7/site-packages/piston/store.pyo' => './usr/lib/python2.7/site-packages/piston/store.pyc'
'./usr/lib/python2.7/site-packages/piston/signals.pyo' => './usr/lib/python2.7/site-packages/piston/signals.pyc'
'./usr/lib/python2.7/site-packages/piston/resource.pyo' => './usr/lib/python2.7/site-packages/piston/resource.pyc'
'./usr/lib/python2.7/site-packages/piston/oauth.pyo' => './usr/lib/python2.7/site-packages/piston/oauth.pyc'
'./usr/lib/python2.7/site-packages/piston/models.pyo' => './usr/lib/python2.7/site-packages/piston/models.pyc'
'./usr/lib/python2.7/site-packages/piston/middleware.pyo' => './usr/lib/python2.7/site-packages/piston/middleware.pyc'
'./usr/lib/python2.7/site-packages/piston/managers.pyo' => './usr/lib/python2.7/site-packages/piston/managers.pyc'
'./usr/lib/python2.7/site-packages/piston/handlers_doc.pyo' => './usr/lib/python2.7/site-packages/piston/handlers_doc.pyc'
'./usr/lib/python2.7/site-packages/piston/handler.pyo' => './usr/lib/python2.7/site-packages/piston/handler.pyc'
'./usr/lib/python2.7/site-packages/piston/forms.pyo' => './usr/lib/python2.7/site-packages/piston/forms.pyc'
'./usr/lib/python2.7/site-packages/piston/emitters.pyo' => './usr/lib/python2.7/site-packages/piston/emitters.pyc'
'./usr/lib/python2.7/site-packages/piston/doc.pyo' => './usr/lib/python2.7/site-packages/piston/doc.pyc'
'./usr/lib/python2.7/site-packages/piston/authentication.pyo' => './usr/lib/python2.7/site-packages/piston/authentication.pyc'
'./usr/lib/python2.7/site-packages/piston/admin.pyo' => './usr/lib/python2.7/site-packages/piston/admin.pyc'
'./usr/lib/python2.7/site-packages/piston/__init__.pyo' => './usr/lib/python2.7/site-packages/piston/__init__.pyc'
Processing files: python-module-django-piston-0.2.3-alt1.hg20120330.2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.68551
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd django-piston-0.2.3
+ DOCDIR=/usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ /bin/mkdir -p /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ cp -prL AUTHORS.txt examples /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ chmod -R go-w /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ chmod -R a+rX /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python-module-django-piston-0.2.3
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0vtUNJ
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.G1CjgO
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py: line=2 IGNORE (for REQ=slight and deep=8) module=pkg_resources
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/__init__.py: line=10 IGNORE (for REQ=slight and deep=8) module=modulefinder
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/admin.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.py: hiding oauth, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/authentication.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py: line=19 IGNORE (for REQ=slight and deep=8) module=sets
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/decorator.py: line=164 IGNORE (for REQ=slight and deep=8) module=doctest
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py: hiding handler, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/doc.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: line=9 IGNORE (for REQ=slight and deep=8) module=yaml
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: hiding validate_jsonp, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: line=37 IGNORE (for REQ=slight and deep=8) module=cStringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: line=39 IGNORE (for REQ=slight and deep=8) module=StringIO
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: line=42 IGNORE (for REQ=slight and deep=8) module=cPickle
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/emitters.py: line=44 IGNORE (for REQ=slight and deep=8) module=pickle
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.py: line=54 IGNORE (for REQ=slight and deep=16) module=hashlib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/forms.py: line=57 IGNORE (for REQ=slight and deep=16) module=sha
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handler.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/handlers_doc.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.py: hiding managers, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/models.py: hiding signals, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.py: line=625 IGNORE (for REQ=slight and deep=15) module=hashlib
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/oauth.py: line=628 IGNORE (for REQ=slight and deep=15) module=sha
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: skipping sys
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: line=14 IGNORE (for REQ=slight and deep=8) module=mimeparse
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding emitters, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding handler, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding doc, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding authentication, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/resource.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/signals.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py: hiding oauth, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py: hiding models, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/store.py: hiding models, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/test.py: hiding piston, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py: hiding test, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py: hiding models, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py: hiding handler, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py: hiding utils, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/tests.py: hiding resource, which SEEMS TO BE SELF-SATISFIED
python.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/utils.py: hiding decorator, which SEEMS TO BE SELF-SATISFIED
/usr/lib/rpm/python.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python2.7/site-packages/piston/validate_jsonp.py: line=209 IGNORE (for REQ=slight and deep=8) module=doctest
Provides: python2.7-module-django-piston = 0.2.3-alt1.hg20120330.2, python2.7(piston), python2.7(piston.admin), python2.7(piston.authentication), python2.7(piston.decorator), python2.7(piston.doc), python2.7(piston.emitters), python2.7(piston.forms), python2.7(piston.handler), python2.7(piston.handlers_doc), python2.7(piston.managers), python2.7(piston.middleware), python2.7(piston.models), python2.7(piston.oauth), python2.7(piston.resource), python2.7(piston.signals), python2.7(piston.store), python2.7(piston.test), python2.7(piston.tests), python2.7(piston.utils), python2.7(piston.validate_jsonp)
Requires: python = 2.7, /usr/lib/python2.7/site-packages, python-modules, python2.7(django), python2.7(httplib2), python2.7(inspect)
Processing files: python3-module-django-piston-0.2.3-alt1.hg20120330.2
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.13502
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd django-piston-0.2.3
+ DOCDIR=/usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ export DOCDIR
+ rm -rf /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ /bin/mkdir -p /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ cp -prL AUTHORS.txt examples /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ chmod -R go-w /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ chmod -R a+rX /usr/src/tmp/python-module-django-piston-buildroot/usr/share/doc/python3-module-django-piston-0.2.3
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tDpWM0
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.kutxnh
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services)
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py: line=2 IGNORE (for REQ=slight and deep=8) module=pkg_resources
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py: line=6 IGNORE (for REQ=slight and deep=8) module=pkgutil
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/__init__.py: line=10 IGNORE (for REQ=slight and deep=8) module=modulefinder
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=3 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [321, [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [322, [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/authentication.py: line=96 a form of __import__ was read which gave no deps: [323, [324, [1, '__import__', 96]], [326, [7, '(', 96], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [25, '{', 96], [26, '}', 96]]]]]]]]]]]]]]]]], [12, ',', 96], [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'attr', 96]]]]]]]]]]]]]]]]]], [8, ')', 96]]]
python3.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py: line=19 IGNORE (for REQ=slight and deep=8) module=sets
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/decorator.py: line=164 IGNORE (for REQ=slight and deep=8) module=doctest
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=9 IGNORE (for REQ=slight and deep=8) module=yaml
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=33 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=34 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=37 IGNORE (for REQ=slight and deep=8) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=39 IGNORE (for REQ=slight and deep=8) module=io
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=42 IGNORE (for REQ=slight and deep=8) module=pickle
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/emitters.py: line=44 IGNORE (for REQ=slight and deep=8) module=pickle
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py: line=54 IGNORE (for REQ=slight and deep=16) module=hashlib
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/forms.py: line=57 IGNORE (for REQ=slight and deep=16) module=sha
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handler.py: line=3 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [269, [270, [271, [272, [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]]]], [4, '', 14]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [270, [271, [272, [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]]]], [4, '', 14]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [271, [272, [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [272, [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [274, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [317, [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [318, [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [319, [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [320, [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [321, [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [322, [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]]
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 UNABLE to determine the imported name at parse-time: module
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/handlers_doc.py: line=14 a form of __import__ was read which gave no deps: [323, [324, [1, '__import__', 14]], [326, [7, '(', 14], [334, [335, [305, [309, [310, [311, [312, [315, [316, [317, [318, [319, [320, [321, [322, [323, [324, [1, 'module', 14]]]]]]]]]]]]]]]]]], [8, ')', 14]]]
python3.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py: skipping time
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py: line=10 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/models.py: line=11 possible relative import from ., UNIMPLEMENTED
python3.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py: skipping time
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py: line=625 IGNORE (for REQ=slight and deep=15) module=hashlib
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/oauth.py: line=628 IGNORE (for REQ=slight and deep=15) module=sha
python3.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: skipping sys
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=14 IGNORE (for REQ=slight and deep=8) module=mimeparse
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=18 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=19 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=20 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=21 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=22 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/resource.py: line=23 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/signals.py: line=5 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py: line=1 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py: line=3 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/store.py: line=4 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py: line=11 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py: line=12 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py: line=13 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py: line=14 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/tests.py: line=15 possible relative import from ., UNIMPLEMENTED
python3.req: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py: skipping time
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/utils.py: line=13 possible relative import from ., UNIMPLEMENTED
/usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-django-piston-buildroot/usr/lib/python3/site-packages/piston/validate_jsonp.py: line=209 IGNORE (for REQ=slight and deep=8) module=doctest
Provides: python3(piston), python3(piston.admin), python3(piston.authentication), python3(piston.decorator), python3(piston.doc), python3(piston.emitters), python3(piston.forms), python3(piston.handler), python3(piston.handlers_doc), python3(piston.managers), python3(piston.middleware), python3(piston.models), python3(piston.oauth), python3(piston.resource), python3(piston.signals), python3(piston.store), python3(piston.test), python3(piston.tests), python3(piston.utils), python3(piston.validate_jsonp)
Requires: /usr/lib/python3/site-packages, python3(base64) < 0, python3(binascii) < 0, python3(cgi) < 0, python3(copy) < 0, python3(datetime) < 0, python3(decimal) < 0, python3(django) < 0, python3(django.conf) < 0, python3(django.contrib) < 0, python3(django.contrib.auth) < 0, python3(django.contrib.auth.decorators) < 0, python3(django.contrib.auth.models) < 0, python3(django.contrib.sites.models) < 0, python3(django.core) < 0, python3(django.core.cache) < 0, python3(django.core.exceptions) < 0, python3(django.core.mail) < 0, python3(django.core.serializers.json) < 0, python3(django.core.urlresolvers) < 0, python3(django.db) < 0, python3(django.db.models) < 0, python3(django.db.models.query) < 0, python3(django.db.models.signals) < 0, python3(django.dispatch) < 0, python3(django.http) < 0, python3(django.middleware.common) < 0, python3(django.middleware.http) < 0, python3(django.shortcuts) < 0, python3(django.template) < 0, python3(django.test) < 0, python3(django.test.client) < 0, python3(django.utils) < 0, python3(django.utils.encoding) < 0, python3(django.utils.http) < 0, python3(django.utils.translation) < 0, python3(django.utils.xmlutils) < 0, python3(django.views.debug) < 0, python3(django.views.decorators.vary) < 0, python3(hmac) < 0, python3(httplib2) < 0, python3(inspect) < 0, python3(random) < 0, python3(re) < 0, python3(unicodedata) < 0, python3(urllib.error) < 0, python3(urllib.parse) < 0, python3(urllib.request) < 0, python3(warnings) < 0
Wrote: /usr/src/RPM/RPMS/noarch/python-module-django-piston-0.2.3-alt1.hg20120330.2.noarch.rpm
Wrote: /usr/src/RPM/RPMS/noarch/python3-module-django-piston-0.2.3-alt1.hg20120330.2.noarch.rpm
20.37user 2.39system 0:24.94elapsed 91%CPU (0avgtext+0avgdata 46216maxresident)k
0inputs+0outputs (0major+340405minor)pagefaults 0swaps
32.84user 9.15system 0:43.05elapsed 97%CPU (0avgtext+0avgdata 117604maxresident)k
40inputs+0outputs (0major+812076minor)pagefaults 0swaps