(xml, appid)
| 262 | |
| 263 | |
| 264 | def _get_app(xml, appid): |
| 265 | if appid: |
| 266 | app = xml.find( |
| 267 | "m:Applications/m:Application[@Id='{}']".format(appid), APPXMANIFEST_NS |
| 268 | ) |
| 269 | if app is None: |
| 270 | raise LookupError(appid) |
| 271 | else: |
| 272 | app = xml |
| 273 | return app |
| 274 | |
| 275 | |
| 276 | def add_visual(xml, appid, data): |
no test coverage detected
searching dependent graphs…