Skip to content

Commit

Permalink
Strip default value from parameter name in test page.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Simpson committed Feb 9, 2001
1 parent 1988a52 commit aadac18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PythonScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
Python code.
"""

__version__='$Revision: 1.22 $'[11:-2]
__version__='$Revision: 1.23 $'[11:-2]

import sys, os, traceback, re
from Globals import DTMLFile, MessageDialog
Expand Down Expand Up @@ -233,7 +233,7 @@ def ZScriptHTML_tryParams(self):
for name in split(self._params, ','):
name = strip(name)
if name and name[0] != '*':
param_names.append(name)
param_names.append(split(name, '=', 1)[0])
return param_names

def manage_historyCompare(self, rev1, rev2, REQUEST,
Expand Down

0 comments on commit aadac18

Please sign in to comment.