remove pre-3.6 leftovers
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
2050880140
commit
e6e9cbbb71
1 changed files with 1 additions and 3 deletions
|
@ -203,8 +203,6 @@ class Metadata(object):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_file(cls, path):
|
def from_file(cls, path):
|
||||||
do_decode = sys.version_info < (3, 6)
|
|
||||||
metadata = subprocess.check_output(["cargo", "read-manifest",
|
metadata = subprocess.check_output(["cargo", "read-manifest",
|
||||||
"--manifest-path={}".format(path)],
|
"--manifest-path={}".format(path)])
|
||||||
universal_newlines=do_decode)
|
|
||||||
return cls.from_json(json.loads(metadata))
|
return cls.from_json(json.loads(metadata))
|
||||||
|
|
Loading…
Reference in a new issue