Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184227 Details for
Bug 239479
[PATCH] dev-java/javatoolkit fails with python-2.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
dev-java/java-config-2.1.6 patch to remove python2.6 Sets warnings
java-config-2.1.6-python2.6.patch (text/plain), 2.05 KB, created by
Jesus Rivero (RETIRED)
on 2009-03-07 15:33:43 UTC
(
hide
)
Description:
dev-java/java-config-2.1.6 patch to remove python2.6 Sets warnings
Filename:
MIME Type:
Creator:
Jesus Rivero (RETIRED)
Created:
2009-03-07 15:33:43 UTC
Size:
2.05 KB
patch
obsolete
>diff -uNr java-config-2.1.6.orig/src/java_config_2/EnvironmentManager.py java-config-2.1.6/src/java_config_2/EnvironmentManager.py >--- java-config-2.1.6.orig/src/java_config_2/EnvironmentManager.py 2009-03-07 10:43:24.000000000 -0430 >+++ java-config-2.1.6/src/java_config_2/EnvironmentManager.py 2009-03-07 10:48:28.000000000 -0430 >@@ -12,7 +12,6 @@ > > from os.path import basename, dirname > from glob import glob >-from sets import Set > import os, re, sys > > class EnvironmentManager(object): >@@ -271,7 +270,7 @@ > path.add(p) > > def build_path(self, pkgs, query): >- path = Set() >+ path = set() > for lpath in self.query_packages(pkgs, query): > self.add_path_elements(lpath, path) > >@@ -305,10 +304,10 @@ > classpath.add(cp) > > def build_dep_path(self, pkgs, query, missing_deps): >- path = Set() >+ path = set() > >- unresolved = Set() >- resolved = Set() >+ unresolved = set() >+ resolved = set() > > for p in pkgs[:]: > pkg = self.get_package(p) >@@ -360,8 +359,8 @@ > """ > env = {} > >- unresolved = Set() >- resolved = Set() >+ unresolved = set() >+ resolved = set() > > for p in pkgs: > pkg = self.get_package(p) >diff -uNr java-config-2.1.6.orig/src/java-config-2 java-config-2.1.6/src/java-config-2 >--- java-config-2.1.6.orig/src/java-config-2 2009-03-07 10:43:24.000000000 -0430 >+++ java-config-2.1.6/src/java-config-2 2009-03-07 10:57:00.000000000 -0430 >@@ -16,8 +16,6 @@ > > from optparse import OptionParser, make_option > >-from sets import Set >- > def version(option, opt, value, parser): > printer._print("%H%BJava Configuration Utility %GVersion " + str(__version__)) > raise SystemExit() >@@ -74,8 +72,8 @@ > error = False > try: > packages = value.split(',') >- path = Set() >- missing_deps = Set() >+ path = set() >+ missing_deps = set() > if not parser.values.with_deps: > path = manager.build_path(packages, query) > else:
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 239479
: 184227 |
184229