remove superfluous normpath()

This commit is contained in:
Anders Ingemann 2013-07-01 23:11:18 +02:00
parent 93cd8dae67
commit 1a21b4d90e
2 changed files with 2 additions and 2 deletions

View file

@ -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):

View file

@ -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):