]> sigrok.org Git - libsigrokdecode.git/commit
init: Simplify srd_decoder_searchpath_add()
authorDaniel Elstner <redacted>
Sat, 3 Oct 2015 09:40:33 +0000 (11:40 +0200)
committerDaniel Elstner <redacted>
Sat, 3 Oct 2015 09:40:33 +0000 (11:40 +0200)
commitd8d409590ce21116d85800c0eb8be287817a0eed
treec2fb4f49c5268c0f5c0dd2971c7bd2cea01f578c
parent750e122d2bcdf05e600112ffda431f97608db387
init: Simplify srd_decoder_searchpath_add()

Don't mess with colon-separated search path strings -- instead,
simply prepend items to the sys.path list object. Also keep the
internal decoder path list in the same order as the items added
to sys.path.
srd.c