Edgewall Software

Opened 13 years ago

Closed 13 years ago

#4153 closed defect (fixed)

checkwiki.py allows -s?

Reported by: Tim Hatch <trac@…> Owned by: Jonas Borgström
Priority: low Milestone: 0.11
Component: wiki system Version: devel
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:


source:trunk/wiki-default/checkwiki.py@3882#L118 specifies that it accepts the options "-d" and "-s" if I read it correctly. But it doesn't do anything with "-s". Is this for compatibility with something before r300 when it was first versioned?

Attachments (0)

Change History (3)

comment:1 by Tim Hatch <trac@…>, 13 years ago

To be clear, I'm just asking if checkwiki.py should be patched as follows, because it accepts the option -s without doing anything with it or mentioning it in the help string.

  • checkwiki.py

    116116if __name__ == '__main__':
    117117    try:
    118         opts, args = getopt.getopt(sys.argv[1:], "ds")
     118        opts, args = getopt.getopt(sys.argv[1:], "d")
    119119    except getopt.GetoptError:
    120120        # print help information and exit:
    121121        print "%s [-d]" % sys.argv[0]

comment:2 by Christian Boos, 13 years ago

Milestone: 0.11
Severity: minortrivial

checkwiki.py will be moved in contrib

comment:3 by Christian Boos, 13 years ago

Resolution: fixed
Status: newclosed

Done in r4951.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to as closed The owner will be changed from Jonas Borgström to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.