()
| 285 | return indexes |
| 286 | |
| 287 | def extractPathFromPaths(): |
| 288 | global ahpaths |
| 289 | |
| 290 | if len(ahpaths) == 0: |
| 291 | return "<NOT APPLICABLE>" |
| 292 | |
| 293 | first = ahpaths[0] |
| 294 | equals = SubstrFind(first, "=") |
| 295 | index = equals[len(equals)-1]+1 |
| 296 | nfirst = first[index:] |
| 297 | tmp = "" |
| 298 | |
| 299 | for c in nfirst: |
| 300 | if c != '.' and c != "/": |
| 301 | break |
| 302 | tmp += c |
| 303 | |
| 304 | if len(tmp) > 0: |
| 305 | tmp = tmp[:-1] |
| 306 | |
| 307 | return tmp |
| 308 | |
| 309 | def cutURLToLastEqual(url): |
| 310 | indexes = SubstrFind(url,"=") |
no test coverage detected