mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
remove superfluous normpath()
This commit is contained in:
parent
93cd8dae67
commit
1a21b4d90e
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ class Manifest(object):
|
|||
|
||||
def validate(self, data):
|
||||
from os import path
|
||||
schema_path = path.normpath(path.join(path.dirname(__file__), 'manifest-schema.json'))
|
||||
schema_path = path.join(path.dirname(__file__), 'manifest-schema.json')
|
||||
self.schema_validate(data, schema_path)
|
||||
|
||||
def schema_validate(self, data, schema_path):
|
||||
|
|
|
@ -5,7 +5,7 @@ class Manifest(base.Manifest):
|
|||
def validate(self, data):
|
||||
super(Manifest, self).validate(data)
|
||||
from os import path
|
||||
schema_path = path.normpath(path.join(path.dirname(__file__), 'manifest-schema.json'))
|
||||
schema_path = path.join(path.dirname(__file__), 'manifest-schema.json')
|
||||
self.schema_validate(data, schema_path)
|
||||
|
||||
def parse(self, data):
|
||||
|
|
Loading…
Add table
Reference in a new issue