Blender Git Commit Log

Git Commits -> Revision 9c602bd

Revision 9c602bd by Campbell Barton (master)
November 22, 2009, 21:47 (GMT)
note:
for a single tuple the last comma is needed. ('SOUND', ), otherwise its just a string.

string in "STRING"
...is the same as
string in ("STRING")
...which checks the substring, its normally used like this
if string in "maybe one of these words contains STRING"

in this case its better just to do ==


Commit Details:

Full Hash: 9c602bd4554a2ad6b49c261830cf72e8849ade16
SVN Revision: 24786
Parent Commit: db164d8
Lines Changed: +2, -2

1 Modified Path:

/release/scripts/ui/space_sequencer.py (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021