aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xckandumper8
1 files changed, 4 insertions, 4 deletions
diff --git a/ckandumper b/ckandumper
index e85b15d..7915c3b 100755
--- a/ckandumper
+++ b/ckandumper
@@ -270,15 +270,15 @@ class CkanDumper:
self.process_stats(stats)
print('Downloading contents of all packages...')
+ package_downloads = []
#
# Package contents
#
for package in packages['result']:
- package_downloads = []
- package_folder = self.dest + os.sep + 'packages' + os.sep + package
- package_file = package_folder + os.sep + 'package.json'
- contents = self.load_json(package_file)
+ package_folder = self.dest + os.sep + 'packages' + os.sep + package
+ package_file = package_folder + os.sep + 'package.json'
+ contents = self.load_json(package_file)
for resource in contents['result']['resources']:
#if resource['name'] != None: