Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 184641 Details for
Bug 224683
cherrypy 3.0.0 is available
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Setuptools patch
setuptools-pkg_resources-order.patch (text/plain), 1.88 KB, created by
Toshio Ernie Kuratomi
on 2007-09-01 22:35:11 UTC
(
hide
)
Description:
Setuptools patch
Filename:
MIME Type:
Creator:
Toshio Ernie Kuratomi
Created:
2007-09-01 22:35:11 UTC
Size:
1.88 KB
patch
obsolete
>diff -up setuptools-0.6c6/pkg_resources.py.bak setuptools-0.6c6/pkg_resources.py >--- setuptools-0.6c6/pkg_resources.py.bak 2007-09-01 14:48:48.000000000 -0700 >+++ setuptools-0.6c6/pkg_resources.py 2007-09-01 14:44:53.000000000 -0700 >@@ -2214,31 +2214,20 @@ class Distribution(object): > > def insert_on(self, path, loc = None): > """Insert self.location in path before its nearest parent directory""" >- > loc = loc or self.location > if not loc: > return > >+ #print 'DEBUG:',loc > if path is sys.path: > self.check_version_conflict() > >+ path.insert(0, loc) > nloc = _normalize_cached(loc) >- bdir = os.path.dirname(nloc) > npath= map(_normalize_cached, path) > >- bp = None >- for p, item in enumerate(npath): >- if item==nloc: >- break >- elif item==bdir: >- path.insert(p, loc) >- npath.insert(p, nloc) >- break >- else: >- path.append(loc) >- return >- > # p is the spot where we found or inserted loc; now remove duplicates >+ p = 0 > while 1: > try: > np = npath.index(nloc, p+1) >@@ -2247,7 +2236,21 @@ class Distribution(object): > else: > del npath[np], path[np] > p = np # ha! >- >+ >+ # Sort the paths >+ newPath = [] >+ newNPath = [] >+ for basePathNum, basePath in enumerate(npath): >+ bdir = os.path.dirname(basePath) >+ for p, item in enumerate(newNPath): >+ if item==bdir: >+ newPath.insert(p, path[basePathNum]) >+ newNPath.insert(p, basePath) >+ break >+ else: >+ newNPath.append(basePath) >+ newPath.append(path[basePathNum]) >+ path = newPath > return > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 224683
:
179621
|
184281
|
184301
| 184641