Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Keep leading slash when extrating an absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
priteau committed Jul 13, 2012
1 parent 5397f64 commit 39f45b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def _one_imagestr(self, logstr, imgstr, unprop=False, new_unprop=None):
# ---------------------------------------------------------------

elif prop and imgstr[:8] == "file:///":
lf.path = imgstr[8:]
lf.path = imgstr[7:]
self.c.log.debug("partition/HD is absolute path w/ file://")

if self.securelocaldir in lf.path:
Expand Down

0 comments on commit 39f45b0

Please sign in to comment.