status: print paths relative to cache dir

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2018-03-04 16:04:32 +02:00
parent 6ce6615914
commit cece5c308c
+1 -1
View File
@@ -54,7 +54,7 @@ class CmdDataStatus(CmdDataBase):
cloud.STATUS_NEW : 'new file:',
}
path = os.path.relpath(target)
path = os.path.relpath(target, self.project.cache.cache_dir)
self.project.logger.info('\t{}\t{}'.format(prefix_map[ret], path))