repos: Silence pycodestyle error
New pycodestyle version, new warning: "l" might be confused with "1". Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
68809708e8
commit
d58a291513
@ -53,7 +53,7 @@ class Repo:
|
||||
if item == 'layers':
|
||||
if not self._layers:
|
||||
return [self.path]
|
||||
return [self.path + '/' + l for l in self._layers]
|
||||
return [self.path + '/' + layer for layer in self._layers]
|
||||
elif item == 'qualified_name':
|
||||
url = urlparse(self.url)
|
||||
return ('{url.netloc}{url.path}'
|
||||
|
Loading…
Reference in New Issue
Block a user