Permalink
Browse files

Remove premature / incomplete '--find-links' stub from 'compoze show'…

… options.

git-svn-id: svn+ssh://svn.repoze.org/svn/compoze/trunk@8698 8f1d8bf8-68d2-4fbe-a113-2afb08c80ed9
  • Loading branch information...
1 parent 8e39142 commit 5b0e65f9fbe66d1e394b1041d8708fd8ad6979e5 Tres Seaver tseaver@palladion.com committed Mar 29, 2010
Showing with 0 additions and 25 deletions.
  1. +0 −8 compoze/informer.py
  2. +0 −10 compoze/tests/test_informer.py
  3. +0 −7 docs/commandline.rst
View
@@ -36,14 +36,6 @@ def __init__(self, global_options, *argv, **kw):
help="Add a candidate index used to find distributions")
parser.add_option(
- '-l', '--find-links',
- metavar='FIND_LINKS_URL',
- action='append',
- dest='find_links',
- default=getattr(global_options, 'find_links', []),
- help="Add a find-links url")
-
- parser.add_option(
'-f', '--fetch-site-packages',
action='store_true',
dest='fetch_site_packages',
@@ -69,7 +69,6 @@ def test_ctor_defaults(self):
self.failIf(informer.options.verbose)
self.assertEqual(informer.options.index_urls,
['http://pypi.python.org/simple'])
- self.assertEqual(informer.options.find_links, [])
self.failIf(informer.options.fetch_site_packages)
self.failIf(informer.options.only_best)
self.failUnless(informer.options.source_only)
@@ -82,7 +81,6 @@ def test_ctor_uses_global_options_as_default(self):
g_options = self._makeOptions(path='/tmp/foo',
verbose=True,
index_urls=['http://example.com/simple'],
- find_links=['http://example.com/links'],
fetch_site_packages=True,
source_only=False,
keep_tempdir=True,
@@ -94,8 +92,6 @@ def test_ctor_uses_global_options_as_default(self):
self.failUnless(informer.options.verbose)
self.assertEqual(informer.options.index_urls,
['http://example.com/simple'])
- self.assertEqual(informer.options.find_links,
- ['http://example.com/links'])
self.failUnless(informer.options.fetch_site_packages)
self.failUnless(informer.options.use_versions)
self.assertEqual(informer.options.versions_section, 'SECTION')
@@ -113,12 +109,6 @@ def test_ctor_explicit_index_url(self):
self.assertEqual(informer.options.index_urls,
['http://example.com/simple'])
- def test_ctor_find_links(self):
- informer = self._makeOne('--find-links=http://example.com/links',
- )
- self.assertEqual(informer.options.find_links,
- ['http://example.com/links'])
-
def test_ctor_use_versions_no_versions_section(self):
informer = self._makeOne('--use-versions')
self.failUnless(informer.options.use_versions)
View
@@ -305,13 +305,6 @@ Options:
Overrides global option.
-.. cmdoption:: -l FIND_LINKS_URL, --find-links=FIND_LINKS_URL
-
- Add ``FIND_LINKS_URL`` to the list of pages in which to search for links
- to :term:`source distribution` archives. May be repeated.
-
- Overrides global option.
-
.. cmdoption:: -f, --fetch-site-packages
In addition to any :term:`requirement` specified on the command

0 comments on commit 5b0e65f

Please sign in to comment.