diff --git a/ckan/lib/cli.py b/ckan/lib/cli.py index 30ad9f399f7..b78fcd3c3e4 100644 --- a/ckan/lib/cli.py +++ b/ckan/lib/cli.py @@ -140,7 +140,7 @@ def _get_postgres_cmd(self, command): pg_cmd += ' -U %(db_user)s' % self.db_details if self.db_details.get('db_pass') not in (None, ''): pg_cmd = 'export PGPASSWORD=%(db_pass)s && ' % self.db_details + pg_cmd - if self.db_details.get('db_host') not in (None, '', 'localhost'): + if self.db_details.get('db_host') not in (None, ''): pg_cmd += ' -h %(db_host)s' % self.db_details if self.db_details.get('db_port') not in (None, ''): pg_cmd += ' -p %(db_port)s' % self.db_details diff --git a/ckan/templates/layout_base.html b/ckan/templates/layout_base.html index 74c6f181da6..2ca6b2f5135 100644 --- a/ckan/templates/layout_base.html +++ b/ckan/templates/layout_base.html @@ -202,7 +202,7 @@

Languages

Meta

- © 2011 + © 2012 Open Knowledge Foundation Licensed under the Open Database License diff --git a/ckan/templates/package/edit.html b/ckan/templates/package/edit.html index 5e8711d5ee8..1028975da88 100644 --- a/ckan/templates/package/edit.html +++ b/ckan/templates/package/edit.html @@ -19,7 +19,7 @@