[ckan-changes] commit/ckanext-dgu: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Wed Aug 10 10:00:00 UTC 2011
2 new changesets in ckanext-dgu:
http://bitbucket.org/okfn/ckanext-dgu/changeset/fff84bacd31b/
changeset: fff84bacd31b
user: dread
date: 2011-08-10 11:59:10
summary: [build] Latest version.
affected #: 1 file (0 bytes)
--- a/requires/lucid_missing.txt Mon Aug 08 17:51:04 2011 +0100
+++ b/requires/lucid_missing.txt Wed Aug 10 10:59:10 2011 +0100
@@ -1,5 +1,5 @@
# CKAN itself
--e hg+https://bitbucket.org/okfn/ckan@e08dd04980e2#egg=ckan
+-e hg+https://bitbucket.org/okfn/ckan@db5bf5b45b4f#egg=ckan
# ApacheMiddleware
-e hg+https://hg.3aims.com/public/ApacheMiddleware@c5ab5c3169a5#egg=apachemiddleware
# ckanext-csw
http://bitbucket.org/okfn/ckanext-dgu/changeset/c5cd7b794a15/
changeset: c5cd7b794a15
user: dread
date: 2011-08-10 11:59:32
summary: [bin]: Fix for filter.
affected #: 1 file (111 bytes)
--- a/ckanext/dgu/bin/national_statistic_filter.py Wed Aug 10 10:59:10 2011 +0100
+++ b/ckanext/dgu/bin/national_statistic_filter.py Wed Aug 10 10:59:32 2011 +0100
@@ -43,7 +43,11 @@
if count % pkgs_per_dot == 0:
log.debug('Processed %i packages', count)
pkg = self.client.package_entity_get(pkg_ref)
- if asbool(pkg['extras'].get('national_statistic') or False):
+ try:
+ is_ns = asbool(pkg['extras'].get('national_statistic') or False)
+ except ValueError, e:
+ is_ns = False
+ if is_ns:
if not pkg['extras'].get('import_source', '').startswith('ONS'):
save_result('NS but not ONS - change', pkg)
if not self.dry_run:
Repository URL: https://bitbucket.org/okfn/ckanext-dgu/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list