Show More
@@ -347,6 +347,9 b' class ContentsManager(LoggingConfigurable):' | |||
|
347 | 347 | from_path must be a full path to a file. |
|
348 | 348 | """ |
|
349 | 349 | path = from_path.strip('/') |
|
350 | if to_path is not None: | |
|
351 | to_path = to_path.strip('/') | |
|
352 | ||
|
350 | 353 | if '/' in path: |
|
351 | 354 | from_dir, from_name = path.rsplit('/', 1) |
|
352 | 355 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now