zone_file --> blockstack_zones

This commit is contained in:
Jude Nelson
2016-06-14 11:29:05 -04:00
parent ea014210d6
commit bcd2a0dcad
2 changed files with 5 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ import sys
import copy
import json
import gnupg
import zone_file
import blockstack_zones
import blockstack.blockstackd as blockstackd
@@ -542,13 +542,13 @@ def blockstack_get_zonefile( zonefile_hash ):
if zonefile_hash not in zonefile_result['zonefiles'].keys():
return None
zonefile = zone_file.parse_zone_file( zonefile_result['zonefiles'][zonefile_hash] )
zonefile = blockstack_zones.parse_zone_file( zonefile_result['zonefiles'][zonefile_hash] )
# verify
if zonefile_hash != blockstack_client.hash_zonefile( zonefile ):
return None
return zone_file.parse_zone_file( zonefile_result['zonefiles'][zonefile_hash] )
return blockstack_zones.parse_zone_file( zonefile_result['zonefiles'][zonefile_hash] )
def blockstack_get_profile( name ):

View File

@@ -28,7 +28,8 @@ setup(
'blockstack-client>=0.0.13.0',
'blockstack-server>=0.0.10.8',
'blockstack-profiles>=0.1.3',
'blockstack-storage-drivers>=0.0.1.0'
'blockstack-storage-drivers>=0.0.1.0',
'blockstack-zones>=0.1.6'
],
classifiers=[
'Intended Audience :: Developers',