(self, vol="")
| 318 | |
| 319 | # set volume |
| 320 | def set_vol(self, vol=""): |
| 321 | if not vol: |
| 322 | # set default volumes |
| 323 | if self.mode == "ps": |
| 324 | vol = c.PS_VOL |
| 325 | if self.mode == "pjl": |
| 326 | vol = c.PJL_VOL |
| 327 | if self.vol != vol: |
| 328 | # reset path traversal and cwd |
| 329 | self.set_traversal() |
| 330 | # set actual volume |
| 331 | self.vol = vol |
| 332 | |
| 333 | # get volume |
| 334 | def get_vol(self): |
no test coverage detected