Merge "Fix in artifact utils"

This commit is contained in:
Jenkins 2014-10-16 10:20:45 +00:00 committed by Gerrit Code Review
commit 8e33493ec1

View File

@ -37,7 +37,10 @@ class Target(object):
class LocalFile(Target):
def __init__(self, filename):
self.filename = str(filename)
if filename.startswith('file://'):
self.filename = filename[7:]
else:
self.filename = filename
self.fileobj = None
def next(self):