Skip to content

Commit

Permalink
Merge branch '2733-feature-datastore' into dataviewer-iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Sep 19, 2012
2 parents 5e95ee7 + 7bdc6c1 commit 8d28d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datastore/plugin.py
Expand Up @@ -37,7 +37,7 @@ def configure(self, config):
# Check whether we are running one of the paster commands which means
# that we should ignore the following tests.
import sys
if sys.argv[0].split('/')[-1] == 'paster':
if sys.argv[0].split('/')[-1] == 'paster' and sys.argv[1] == "datastore":
log.warn("Omitting permission checks because you are "
"running paster commands.")
return
Expand Down

0 comments on commit 8d28d01

Please sign in to comment.