Change 23167

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into //guest/sven_erik_knop/P4Pythonlib/triggers
Request Review
Download .zip
Fix bug where a keyword argument contained '=' itself.

The trigger accepts keyword arguments in the form key=value, for example
port=server:1666

In the test case, I am passing in port as "rsh:p4d -r /path/to/root -vserver=3 -i", which
gets split into three and not two strings. Fortunately, Python's string.split() has an optional
argument limiting the number of splits.
  • Files 1
  • Comments 0
1 edited 0 added 0 deleted
CheckCaseTrigger.py#19
Loading...
Tip: Use n and p to cycle through the changes.