Ticket #3907 (closed task: fixed )

Opened 7 months ago

Last modified 3 weeks ago

Remove --static option for twisted.web

Reported by: thijs Assigned to: thijs
Type: task Priority: normal
Milestone: Component: web
Keywords: Cc: thijs
Branch: branches/static-web-3907-2 Author: thijs
Launchpad Bug:

Description

There's a --static option in twisted web that does the same --path. It's marked as deprecated:

    def opt_static(self, path):
        """Same as --path, this is deprecated and will be removed in a
        future release."""
        print ("WARNING: --static is deprecated and will be removed in"
               "a future release. Please use --path.")
        self.opt_path(path)
    opt_s = opt_static

Let's get rid of it.

Attachments

Change History

  2009-07-08 01:24:56+00:00 changed by glyph

  • owner changed from glyph to thijs

  2009-07-08 01:25:02+00:00 changed by glyph

  • component changed from core to web

  2009-07-08 02:24:09+00:00 changed by exarkun

Sounds good.

  2009-07-08 02:30:49+00:00 changed by thijs

  • branch set to branches/static-web-3907
  • branch_author set to thijs

(In [27115]) Branching to 'static-web-3907'

  2010-01-15 19:40:43+00:00 changed by thijs

  • branch changed from branches/static-web-3907 to branches/static-web-3907-2

(In [28008]) Branching to 'static-web-3907-2'

  2010-01-15 19:41:43+00:00 changed by thijs

(In [28009]) Remove --static option, refs #3907

  2010-01-15 19:55:55+00:00 changed by thijs

(In [28010]) Revert r28009, refs #3907

  2010-01-15 20:02:34+00:00 changed by thijs

(In [28011]) Coding standard, refs #3907

  2010-01-15 20:04:09+00:00 changed by thijs

(In [28012]) Remove --static option, refs #3907

  2010-01-15 20:07:55+00:00 changed by thijs

  • keywords set to review
  • owner deleted

Added news file in r28013. Up for review. Sorry about r28009 :-/

  2010-01-16 23:23:15+00:00 changed by moshez

  • keywords deleted
  • owner set to thijs

Looks good. Please merge.

  2010-01-17 02:10:57+00:00 changed by thijs

  • status changed from new to closed
  • resolution set to fixed

(In [28020]) Merge static-web-3907-2: Remove '--static' option from twistd web, that served as an alias for the '--path' option.

Author: thijs Reviewer: moshez Fixes: #3907

Note: See TracTickets for help on using tickets.