mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-19 12:09:48 +08:00
zone_file --> blockstack_zones
This commit is contained in:
@@ -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 ):
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user