(self, path)
| 378 | |
| 379 | # get separator |
| 380 | def get_sep(self, path): |
| 381 | # don't add separator between ps volume and filename |
| 382 | if self.mode == "ps" and re.search("^%.*%$", path): |
| 383 | return "" |
| 384 | # add separator if we have to deal with a directory |
| 385 | return c.SEP if (path or self.cwd or self.traversal) else "" |
| 386 | |
| 387 | # -------------------------------------------------------------------- |
| 388 | # get path without traversal and cwd information |